Commit Graph

10887 Commits

Author SHA1 Message Date
Ariel Weinberger c3bb863e98 Merge pull request #408 from CopilotKit/feat/runtime-guardrails
feat(runtime): guardrails, runtime interruption
2024-06-27 18:04:19 +02:00
Ariel Weinberger 473dad8a5e Merge branch 'main' into feat/runtime-guardrails 2024-06-27 18:02:12 +02:00
Markus Ecker 004353f67b QA / fixes (#409)
* add debug configuration

* gracefully handle server actions without return values

* remove log

* update langserve QA

* rename interface

* update langchain streaming

* fix langserve bugs

* langchain adapter plus streaming

* make gemini work

* clean up

* update pages router qa
2024-06-27 14:58:42 +00:00
Ariel Weinberger 750695ab88 fix: cleanup 2024-06-27 16:55:26 +02:00
Ariel Weinberger 8f43ddbd30 fix(react-core): add missing publicApiKey for Copilot Cloud usage of extract.ts 2024-06-27 16:31:35 +02:00
Ariel Weinberger e8ff9ed8cc fix(runtime): type error 2024-06-27 13:48:06 +02:00
Ariel Weinberger 19c85301ff fix(runtime): type error exporting nextjs app router endpoint, set GET/POST/OPTIONS to any 2024-06-27 13:46:12 +02:00
Ariel Weinberger 232c9934f4 fix: formatting 2024-06-27 13:32:21 +02:00
Ariel Weinberger ab058c245c feat(runtime): use FailedResponseStatus enums for reason 2024-06-27 13:31:54 +02:00
Ariel Weinberger db6fb8c6c2 feat(runtime): explicit failed response statuses with enum 2024-06-27 13:23:52 +02:00
Ariel Weinberger e592618402 feat(runtime): use ReplaySubject 2024-06-27 12:28:17 +02:00
Ariel Weinberger 41c9d84527 fix: formatting 2024-06-26 23:18:50 +02:00
Ariel Weinberger f8bcf5cb91 Merge branch 'main' into feat/runtime-guardrails 2024-06-26 23:18:30 +02:00
Ariel Weinberger de3e1af7c3 feat(runtime): implement guardrails 2024-06-26 23:16:36 +02:00
CopilotKit d826a8b69e Merge pull request #405 from CopilotKit/feat/runtime-graphql
GraphQL based protocol
@copilotkit/runtime@0.37.0 @copilotkit/runtime-client-gql@0.37.0
2024-06-26 16:28:46 +02:00
Markus Ecker a1db4e377d Groq and ollama adapters (#406)
Co-authored-by: calathus

* merge groq and ollama adapter

* port adapters to new protocol

* fix broken lockfile
2024-06-26 14:13:16 +02:00
Ariel Weinberger b62828e5f0 feat(ci): use nodejs v18 and v20 2024-06-26 12:12:00 +02:00
Ariel Weinberger 7f3fc7b000 test with node version 18 only 2024-06-26 12:10:03 +02:00
Ariel Weinberger 870e9ef21c fix: formatting 2024-06-26 12:08:25 +02:00
Ariel Weinberger f8050d1f58 fix(ci): add --passWithNoTests if no tests are present in npm package 2024-06-26 12:07:20 +02:00
Markus Ecker 308a0200d5 Merge branch 'main' into feat/runtime-graphql 2024-06-25 16:55:17 +02:00
Markus Ecker af141f93b1 make suggestions work 2024-06-25 16:24:12 +02:00
Markus Ecker de63e1b087 remove obsolete methods from runtime 2024-06-25 15:30:59 +02:00
Markus Ecker 09d8513b3e Merge branch 'feat/runtime-graphql' of github.com:CopilotKit/CopilotKit into feat/runtime-graphql 2024-06-25 13:07:21 +02:00
Markus Ecker 906242dd05 . 2024-06-25 13:07:11 +02:00
Ariel Weinberger 370af710bc fix usechat 2024-06-25 13:05:34 +02:00
Ariel Weinberger 57a8128c86 feate(runtime): rename runCopilotChat mutation to generateCopilotResponse 2024-06-25 13:05:34 +02:00
Ariel Weinberger 278b3f8d09 feat(devex): automatically watch and generate gql schema and client 2024-06-25 12:45:16 +02:00
Markus Ecker cebba01069 Type safe constructors for message classes (#402)
* update types and add constructors

* remove plainToInstance
2024-06-25 10:52:07 +02:00
Ariel Weinberger 4d9b5bff7c chore(turborepo): add graphql dependencies for "build" 2024-06-24 16:21:37 +02:00
Ariel Weinberger 1a913a5f3c fix: rename createChatCompletion to runCopilotChat 2024-06-24 16:15:17 +02:00
Ariel Weinberger 09884fde81 feat(runtime): add properties optional param to runCopilotChat 2024-06-24 16:06:39 +02:00
Ariel Weinberger e8eb532145 fix(docs): use a slightly bolder color 2024-06-24 16:01:11 +02:00
Ariel Weinberger e5b8b4e76c feat(docs): apply copilotkit brand 2024-06-24 16:01:11 +02:00
Ariel Weinberger c5666360c5 feat(examples): use "start" and "start:dev" npm scripts for examples, to avoid conflicts with packages 2024-06-24 15:27:11 +02:00
Ariel Weinberger 79fc96dc36 feat(runtime): request properties as GraphQLJSONObject 2024-06-24 15:25:25 +02:00
ranst91 8ca385520f feat(config): enable accepting suggestion on mobile on tap 2024-06-24 15:18:48 +02:00
Ariel Weinberger ff1950561d feat(runtime): rename createChatCompletion to runCopilotChat 2024-06-24 14:18:38 +02:00
Markus Ecker c30175095e Update README.md (#397) 2024-06-18 19:11:13 +00:00
Markus Ecker 8ff4c907a8 pnpm install 2024-06-17 18:24:28 +02:00
Markus Ecker 3402bc922f Merge branch 'feat/runtime-graphql' into mme/port-textarea 2024-06-17 18:10:41 +02:00
Markus Ecker 26fc0c67ab increase turbo concurrency to 14 2024-06-17 18:09:49 +02:00
Ariel Weinberger 5800649511 fix(runtime-client-gql): add missing id and createdAt 2024-06-17 18:06:16 +02:00
Ariel Weinberger 2460bff489 fix(runtime-client-gql): streaming due to missing @defer 2024-06-17 18:01:25 +02:00
Markus Ecker 92f1628acf port toolbar 2024-06-17 16:15:37 +02:00
Markus Ecker 96a81bda34 make autosuggestions work 2024-06-17 16:01:21 +02:00
Ariel Weinberger 1cee12137a feat(runtime-client-gql): add viarbles to mutation 2024-06-17 15:14:16 +02:00
Ariel Weinberger fb1cc6d0e0 feat(runtime): add properties input variable 2024-06-17 15:14:16 +02:00
Markus Ecker 366582ba09 Merge branch 'feat/runtime-graphql' into mme/port-textarea 2024-06-17 15:12:44 +02:00
Ariel Weinberger 130a1333e0 fix(formatting): runtime 2024-06-17 15:09:43 +02:00