Commit Graph

2653 Commits

Author SHA1 Message Date
Ran Shem Tov e6cc4e6f44 Pre release pre/1.4.0 @copilotkit/shared@1.4.0-pre-1-4-0.12 @copilotkit/sdk-js@1.4.0-pre-1-4-0.12 @copilotkit/runtime@1.4.0-pre-1-4-0.12 @copilotkit/runtime-client-gql@1.4.0-pre-1-4-0.12 @copilotkit/react-ui@1.4.0-pre-1-4-0.12 @copilotkit/react-textarea@1.4.0-pre-1-4-0.12 @copilotkit/react-core@1.4.0-pre-1-4-0.12 2024-12-02 09:32:33 +01:00
Ran Shem Tov c705dd71c1 Merge branch 'main' into pre/1.4.0
# Conflicts:
#	CopilotKit/.changeset/pre.json
#	CopilotKit/packages/runtime/src/agents/langgraph/event-source.ts
#	CopilotKit/packages/runtime/src/agents/langgraph/events.ts
#	CopilotKit/packages/runtime/src/lib/runtime/copilot-runtime.ts
#	CopilotKit/packages/runtime/src/lib/runtime/remote-action-constructors.ts
#	CopilotKit/packages/runtime/src/lib/runtime/remote-lg-cloud-action.ts
#	CopilotKit/packages/sdk-js/CHANGELOG.md
#	CopilotKit/packages/sdk-js/package.json
#	CopilotKit/packages/sdk-js/src/langchain.ts
#	examples/coagents-ai-researcher/agent/pyproject.toml
#	examples/coagents-qa-native/agent/poetry.lock
#	examples/coagents-qa-native/agent/pyproject.toml
#	examples/coagents-qa-text/agent/poetry.lock
#	examples/coagents-qa-text/agent/pyproject.toml
#	examples/coagents-research-canvas/agent/poetry.lock
#	examples/coagents-research-canvas/agent/pyproject.toml
#	examples/coagents-routing/agent/poetry.lock
#	examples/coagents-routing/agent/pyproject.toml
#	examples/e2e/tests/coagents-canvas-researcher-demo.spec.ts
#	examples/e2e/tests/coagents-qa-native-demo.spec.ts
#	examples/e2e/tests/coagents-qa-text-demo.spec.ts
#	examples/e2e/tests/coagents-routing-demo.spec.ts
#	infra/lib/demo-project-stack.ts
#	sdk-python/copilotkit/langgraph_agent.py
#	sdk-python/pyproject.toml
2024-12-02 09:31:03 +01:00
Markus Ecker 9d00076df4 support streaming multiple messages and refactor rxjs API (#978)
* support streaming multiple messages and refactor rxjs API
2024-11-29 17:41:28 +01:00
Markus Ecker 453efc2cb5 improve error handling: problem with the LLM or remote actions (#813)
* improve error handling when there is a problem with the LLM or remote actions

* fix missing import
2024-11-29 17:01:01 +01:00
Ran Shemtov 6c95385f1f chore(e2e): test streaming of manually emitted state (#996)
* chore(e2e): test streaming of manually emitted state
2024-11-29 16:26:17 +01:00
Ran Shemtov a05232e11a chore: add danger comment when LG executors are not aligned (#995)
* chore: add danger comment when LG executors are not aligned
2024-11-29 16:24:28 +01:00
Ran Shemtov 9468014edd fix: fix emitted state being overridden by llm calls (#994)
* fix: fix emitted state being overridden by llm calls

* fix: align state continueity with python sdk implementation
2024-11-29 16:04:06 +01:00
Ran Shemtov 066c32a51d chore: consider possible js deployment url from main config (#991)
* chore: consider possible js deployment url from main config

* chore: add LGC JS deployments of main
2024-11-29 15:22:02 +01:00
Ran Shemtov afe8c48fd0 fix: fix backwards compatibility for remote actions (#993) 2024-11-29 08:58:30 +01:00
Ran Shemtov 85f781ffed Fix/new streaming system (#990)
* fix: add new langgraph streaming protocol

* fix: go to the next chunk after receiving a manually emitted state

* chore: update all packages

---------

Co-authored-by: Markus Ecker <markus.ecker@gmail.com>
2024-11-28 15:05:39 +01:00
Markus Ecker 3b362e5858 Merge branch 'main' of github.com:CopilotKit/CopilotKit 2024-11-28 13:50:01 +01:00
Markus Ecker 5006a67c25 update copilotKit Annotation type 2024-11-28 13:49:57 +01:00
Ariel Weinberger 3741778973 chore(previews): temporarily disable eventbridge 2024-11-27 16:25:43 -06:00
Markus Ecker caec10f089 update langsmith docs 2024-11-27 22:49:57 +01:00
Tyler Slaton 7925d4f8f4 Merge pull request #984 from CopilotKit/tyler/more-content
docs(agentic-copilots): add explantory docs for agentic copilots (rebranded CoAgents)
2024-11-27 12:15:59 -05:00
Tyler Slaton 4b5a2676cc docs(agentic-copilots): coagents => agentic copilots
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2024-11-27 11:58:30 -05:00
Tyler Slaton be960a3128 docs(coagents): fill out content for conceptual docs and add tailored-content component
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2024-11-27 11:58:30 -05:00
Tyler Slaton 65668d2ca2 docs(coagents): add concepts section and integrate it
Signed-off-by: Tyler Slaton <tyler@copilotkit.ai>
2024-11-27 11:58:29 -05:00
Markus Ecker da591db825 stream via adispatch_custom_event (#983) 2024-11-27 16:31:19 +01:00
Ran Shemtov f6fab281ae feat: langgraph cloud (#918)
* feat(runtime): rename remoteActions argument to remoteEndpoints

* feat(remote-actions): integrate langgraph-cloud as a remote action for CoAgents

* feat(runtime): rename remoteActions argument to remoteEndpoints

* feat(remote-actions): integrate langgraph-cloud as a remote action for CoAgents

* feat(sdk-js): add SDK for LangGraph JS support

---------

Co-authored-by: Markus Ecker <markus.ecker@gmail.com>
Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
2024-11-27 13:31:58 +01:00
Markus Ecker 8a779446a8 Improve langsmith support (#924)
* pass conversation_id to get LangSmith threads

* Pre release mme/improve-langsmith

* document LangSmith observability

* await all callbacks to make sure the last message is sent to LangSmith

* exit pre

* Pre release mme/improve-langsmith
2024-11-27 12:26:24 +01:00
Markus Ecker 332d74452b Add support for Azure OpenAI (#950)
* Support Azure OpenAI

* Pre release mme/azure-openai

* trigger CI
2024-11-27 11:57:35 +01:00
Ran Shem Tov c6b489d730 Pre release pre/1.4.0 @copilotkit/shared@1.4.0-pre-1-4-0.11 @copilotkit/sdk-js@1.4.0-pre-1-4-0.11 @copilotkit/runtime@1.4.0-pre-1-4-0.11 @copilotkit/runtime-client-gql@1.4.0-pre-1-4-0.11 @copilotkit/react-ui@1.4.0-pre-1-4-0.11 @copilotkit/react-textarea@1.4.0-pre-1-4-0.11 @copilotkit/react-core@1.4.0-pre-1-4-0.11 2024-11-26 16:32:52 +01:00
Ran Shem Tov 533aa24cfc Merge branch 'feat/langgraph-cloud' into pre/1.4.0 2024-11-26 16:31:46 +01:00
Markus Ecker 87a21a63e8 use CopilotKitStateAnnotation in demos 2024-11-26 16:01:02 +01:00
Ariel Weinberger d94a43569a add hardcoded lgc js endpoints unfortunately 2024-11-26 08:53:39 -06:00
Ran Shem Tov 774606e84b revert any infra related changes 2024-11-26 15:41:08 +01:00
Markus Ecker a19bcb3f25 Merge branch 'feat/langgraph-cloud' of github.com:CopilotKit/CopilotKit into feat/langgraph-cloud 2024-11-26 14:54:18 +01:00
Markus Ecker 96ee7c92d4 add CopilotKitStateAnnotation 2024-11-26 14:54:09 +01:00
Ran Shem Tov 06dd4f732b restore LGC JS in e2e tests 2024-11-26 13:50:09 +01:00
Ran Shem Tov 88e97e4c65 restore LGC JS in e2e tests 2024-11-26 13:34:57 +01:00
Ran Shem Tov 4a6328cfe8 use latest pre-release for lgjs agents 2024-11-26 11:37:22 +01:00
Ran Shem Tov 7cc6cc8633 Pre release pre/1.4.0 @copilotkit/shared@1.4.0-pre-1-4-0.10 @copilotkit/sdk-js@1.4.0-pre-1-4-0.10 @copilotkit/runtime@1.4.0-pre-1-4-0.10 @copilotkit/runtime-client-gql@1.4.0-pre-1-4-0.10 @copilotkit/react-ui@1.4.0-pre-1-4-0.10 @copilotkit/react-textarea@1.4.0-pre-1-4-0.10 @copilotkit/react-core@1.4.0-pre-1-4-0.10 2024-11-26 11:23:05 +01:00
Ran Shem Tov 72cf1e1f3f Merge branch 'feat/langgraph-cloud' into pre/1.4.0
# Conflicts:
#	CopilotKit/.changeset/pre.json
#	CopilotKit/examples/next-openai/CHANGELOG.md
#	CopilotKit/examples/next-openai/package.json
#	CopilotKit/examples/next-pages-router/CHANGELOG.md
#	CopilotKit/examples/next-pages-router/package.json
#	CopilotKit/examples/node-express/CHANGELOG.md
#	CopilotKit/examples/node-express/package.json
#	CopilotKit/examples/node-http/CHANGELOG.md
#	CopilotKit/examples/node-http/package.json
#	CopilotKit/packages/react-core/CHANGELOG.md
#	CopilotKit/packages/react-core/package.json
#	CopilotKit/packages/react-textarea/CHANGELOG.md
#	CopilotKit/packages/react-textarea/package.json
#	CopilotKit/packages/react-ui/CHANGELOG.md
#	CopilotKit/packages/react-ui/package.json
#	CopilotKit/packages/runtime-client-gql/CHANGELOG.md
#	CopilotKit/packages/runtime-client-gql/package.json
#	CopilotKit/packages/runtime/CHANGELOG.md
#	CopilotKit/packages/runtime/package.json
#	CopilotKit/packages/runtime/src/lib/runtime/copilot-runtime.ts
#	CopilotKit/packages/runtime/src/lib/runtime/remote-lg-cloud-action.ts
#	CopilotKit/packages/shared/CHANGELOG.md
#	CopilotKit/packages/shared/package.json
#	CopilotKit/pnpm-lock.yaml
#	CopilotKit/utilities/eslint-config-custom/CHANGELOG.md
#	CopilotKit/utilities/eslint-config-custom/package.json
#	CopilotKit/utilities/tailwind-config/CHANGELOG.md
#	CopilotKit/utilities/tailwind-config/package.json
#	CopilotKit/utilities/tsconfig/CHANGELOG.md
#	CopilotKit/utilities/tsconfig/package.json
#	docs/content/docs/reference/classes/CopilotRuntime.mdx
#	examples/coagents-ai-researcher/ui/app/api/copilotkit-lgc/route.ts
#	examples/coagents-qa-native/ui/app/api/copilotkit/route.ts
#	examples/coagents-qa-native/ui/app/page.tsx
#	examples/coagents-qa-native/ui/lib/model-selector-provider.tsx
#	examples/coagents-qa-text/ui/app/api/copilotkit/route.ts
#	examples/coagents-qa-text/ui/app/page.tsx
#	examples/coagents-qa-text/ui/lib/model-selector-provider.tsx
#	examples/coagents-research-canvas/agent/poetry.lock
#	examples/coagents-research-canvas/ui/package.json
#	examples/coagents-research-canvas/ui/pnpm-lock.yaml
#	examples/coagents-research-canvas/ui/src/app/api/copilotkit/route.ts
#	examples/coagents-research-canvas/ui/src/app/page.tsx
#	examples/coagents-research-canvas/ui/src/lib/model-selector-provider.tsx
#	sdk-python/pyproject.toml
2024-11-26 11:21:27 +01:00
Markus Ecker 312a2bcf40 update packages 2024-11-26 11:08:14 +01:00
Ariel Weinberger c08e7180e1 update config 2024-11-25 19:28:59 -06:00
Ariel Weinberger d893fa687d adjust parameters 2024-11-25 19:28:18 -06:00
Ariel Weinberger 1c593903dc minimize calls 2024-11-25 19:13:54 -06:00
Ariel Weinberger 0ccb497bc2 Merge branch 'main' into feat/langgraph-cloud 2024-11-25 19:03:31 -06:00
Ariel Weinberger 7ab9deb847 fix test 2024-11-25 19:03:20 -06:00
Ariel Weinberger 5eca94ae7c upgrade memory 2024-11-25 19:00:19 -06:00
Ariel Weinberger a2a9db4fb2 Merge remote-tracking branch 'origin/main' into feat/langgraph-cloud 2024-11-25 18:42:33 -06:00
Suhas Deshpande 9049a957b3 fixes test reporter (#969)
* fixes test reporter

* remove continue-on-error: true

* tweak status updating

* tweak status

* tweak

* retrigger CI
2024-11-25 18:42:27 -06:00
Ariel Weinberger 0f46e3c46d run all 2024-11-25 18:18:54 -06:00
Ariel Weinberger 4464d6a650 progress 2024-11-25 18:02:17 -06:00
Ariel Weinberger c96a80bc5d updated table 2024-11-25 17:26:08 -06:00
Ariel Weinberger eaaca41412 try again 2024-11-25 17:09:54 -06:00
Ariel Weinberger aec6fcedbe add outputs 2024-11-25 16:55:40 -06:00
Ariel Weinberger 2336bde787 fix error 2024-11-25 16:52:17 -06:00
Ariel Weinberger 377e2dc2a7 try again 2024-11-25 16:48:25 -06:00