Commit Graph

185 Commits

Author SHA1 Message Date
Tyler Slaton 20f18db75a refactor(docs): use cdn instead of storing in public (#2196) 2025-07-20 11:38:52 -04:00
Suhas Deshpande cbc4da477b linter 2025-05-27 06:22:46 -07:00
Maksim Kachurin fc0a2a72b8 Fixed useless div in Body 2025-05-27 06:22:46 -07:00
Maksim Kachurin ce22bd7265 fix(react-textarea): CopilotTextarea bugs 2025-05-27 06:22:46 -07:00
Suhas Deshpande 6dfa0d2920 feat: add temperature parameter support for LLM completions (#1178) 2025-01-08 11:09:34 -08:00
Suhas Deshpande d5ee8c89a0 Pre/1.4.1 (#1054)
* fixes `InProgressStateWait` interface (#1040)

interface InProgressStateWait<T extends Parameter[] | [] = []> {
    status: "inProgress";
    args: Partial<MappedParameterTypes<T>>;
    /** @deprecated use respond instead */
    handler: undefined;
    respond: undefined; // missed somehow in earlier change
    result: undefined;
}

* Update index.ts (#1041)

* Fix issues with the quickstart (#1047)

* deprecate disabled, add "available" (#1016)

* Pre release pre/1.4.1

* run prerelease on pre/*

* Pre release pre/1.4.1

* feat: surface Copilot Cloud errors in debug mode (#1057)

* feat(react-core): toast for Cloud

* use hook instead of constructor for runtime client

* fix formatting

* fix type issues

* fix odd typo

* copilo cloud copilotkit provider: remove use client, and reference layout.tsx

* per install path dependency installation

* fix self hosting quickstart instruction, to mimick what we have in SelfHostingCopilotRuntimeConfigureCopilotKitProvider

* .

* highlight npx command

* find your copilot runtime: instructions update

* llm adapters: add quickstart code snippets

* remove unneeded section

* add steps to self-hosting

* fix legit docs issue that came out of nowhere

* remove llm adadpters reference which seems to break stuff

* fix assistant message css when not using tailwind (#1048)

* Fix frontend tool definitions in LangGraph state (WIP) (#1053)

* Pre release mme/frontend-tool-docs

* update packages

* move convertJsonSchemaToZodSchema to shared and add test code

* exit pre

* Pre release mme/frontend-tool-docs

* implement convertActionsToDynamicStructuredTools

* Pre release mme/frontend-tool-docs

* pass frontend function to LangGraph JS

* remove console.log

* exit pre

* Pre release pre/1.4.1

* fix(ci): remove typescript step from quality, we run build anyway

* exit pre mode

* Release 1.4.1

---------

Co-authored-by: Markus Ecker <markus.ecker@gmail.com>
Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
Co-authored-by: Atai Barkai <atai.barkai@gmail.com>
2024-12-10 10:47:36 -06:00
Ariel Weinberger 8ea148b783 fix docs 2024-11-14 13:26:23 -06:00
Ariel Weinberger e7ebcd90ca feat: data test ids (#907)
* some test ids

* fix formatting

* update data testid

* add data attr
2024-11-12 18:44:38 -06:00
Ran Shemtov 4628e176e4 fix(auto-suggestion): fix anthropic & langchain autosuggestion mechanism (#865)
* fix(auto-suggestion): fix anthropic & langchain autosuggestion mechanism
2024-11-01 18:30:43 +01:00
Ariel Weinberger 45b0ddfe4d feat(examples): bump nextjs to version 15 (#845)
* feat(examples): bump nextjs to version 15

* Revert "feat(examples): bump nextjs to version 15"

This reverts commit 16a9d83477.

* feat(next-openai-example): bump nextjs version to 15.x

* use type field instead of instanceof

* fix(packages): peer dependency allow react 19 and 18

* update lockfile

* bring back service adapter selector

---------

Co-authored-by: Markus Ecker <markus.ecker@gmail.com>
2024-10-30 12:03:24 -07:00
Ariel Weinberger 4e9bb152dc feat(docs): fix all build issues 2024-10-03 15:03:34 +02:00
Ariel Weinberger 8564fc84b7 feat: revert css injection (#585)
* Revert "feat: inject minified css in bundle (#560)"

This reverts commit c2963a03cb.

* fix import

* regenerate package lock
2024-09-24 12:12:58 +02:00
Ariel Weinberger 7b475ac729 fix(docs): import of copilotkti textarea 2024-09-21 10:57:04 +02:00
Ariel Weinberger cdb315f393 Merge branch 'main' into feat/runtime-remote-actions 2024-09-16 12:57:30 +02:00
Markus Ecker 72d361d630 remove console logs 2024-09-11 14:33:52 +02:00
Markus Ecker aaecb745bf filter agent state messages before sending request 2024-09-10 13:31:03 +02:00
Markus Ecker 0100cfd515 Merge branch 'main' into atai/0724/athena-fix 2024-09-05 10:09:55 +02:00
Markus Ecker adea85f6fd pass frontend url 2024-08-26 15:44:57 +02:00
Ariel Weinberger ac98da1bf8 fix(docs) import styles css (#546)
* fix(docs): add styles import

* fix(docs): generated mdx
2024-08-26 14:00:11 +02:00
Markus Ecker 80e739f962 throw an error if useCopilotReadable is used outside of a <CopilotKit /> context 2024-08-19 15:19:24 +02:00
Ariel Weinberger 522fe28055 fix: formatting 2024-08-13 13:52:00 +02:00
Ariel Weinberger d5fb639ae0 fix(docs): CopilotTextarea configuration parameters 2024-08-13 13:32:39 +02:00
Markus Ecker a72c7a98a1 ensure absolute positioning 2024-08-12 14:34:33 +02:00
Markus Ecker f289617f1c Merge branch 'main' into fix/centeringPopup 2024-08-12 14:24:30 +02:00
Ariel Weinberger 080ef0786d fix(docs): update docs (#528)
* fix(docs): add customize look & feel docs to component reference

* fix(docs): textarea autosuggestionsConfig link to GitHub until we figure out nested properties

* fix: formatting
2024-08-09 12:23:54 +02:00
Markus Ecker b6f206dde0 Autogenerate reference docs (#525)
* automate doc generation

* write files

* Actually write files

* update docs (autogenerated)

* remove body (obsolete)

* fix build errors

* clean up

* test

* feat(docs): add pre commit hook with husky

---------

Co-authored-by: Ariel Weinberger <weinberger.ariel@gmail.com>
2024-08-06 12:35:36 +02:00
Markus Ecker 9fdcf88b7b add back maxTokens and stop 2024-07-31 14:10:22 +02:00
Atai Barkai 5eb55d4045 turbo run format caused changes 2024-07-24 23:00:04 -07:00
Atai Barkai bccc6d1fc1 fix dialog portal build issue 2024-07-24 22:59:29 -07:00
farhan 88c307dae1 centering popup 2024-07-25 01:28:33 +05:30
Markus Ecker afa9d898bd Add credentials to all requests 2024-07-22 15:14:33 +02:00
Markus Ecker 4b9aa1c3cf quick fix for the textarea bug 2024-07-17 15:31:42 +02:00
Markus Ecker 021ea375f1 replace nanoid 2024-07-08 11:15:30 +02:00
Ariel Weinberger a3984d8abc feat(runtime): add metadata property to copilot request input (#425)
* feat(runtime): add metadata property to copilot request input

* fix formatting

* Add CopilotRequestType to the frontend

---------

Co-authored-by: Markus Ecker <markus.ecker@gmail.com>
2024-07-04 18:33:40 +02:00
Markus Ecker 87e4e4cc36 Support for custom props and middleware (#418)
* add custom properties

* add onBeforeRequest handler

* add after request middleware

* customProperties -> properties

* move hooks to middleware prop

* update API and fix docs
2024-07-03 09:20:41 +00:00
Markus Ecker f2a06d6206 Add abort controller / remove unused files (#415)
* remove copilot-cloud

* add back abort signal

* use the abortController ref

* remove log

* make abort signal work

* clean up abort signal code
2024-07-01 16:07:55 +00: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
Markus Ecker 308a0200d5 Merge branch 'main' into feat/runtime-graphql 2024-06-25 16:55:17 +02:00
Ariel Weinberger 57a8128c86 feate(runtime): rename runCopilotChat mutation to generateCopilotResponse 2024-06-25 13:05:34 +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 1a913a5f3c fix: rename createChatCompletion to runCopilotChat 2024-06-24 16:15:17 +02:00
ranst91 8ca385520f feat(config): enable accepting suggestion on mobile on tap 2024-06-24 15:18:48 +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
Markus Ecker 64268e6612 port textarea to the new client 2024-06-17 15:07:58 +02:00
Markus Ecker dc317505b4 remove old Message interface 2024-06-11 16:16:54 +02:00
Markus Ecker 9df8d438e7 Improve textarea CSS (#376)
* remove unused UI components

* remove tailwind base and components

* scope tailwind css
2024-06-03 14:40:44 +00:00
Markus Ecker a5ebcf7d4d Improve docs (#353)
Improve adapter documentation
2024-05-22 18:43:03 +02:00
Markus Ecker 6ad2a6905e document CopilotTextarea (#350) 2024-05-21 17:52:57 +00:00