feat(context)!: switch from contexts to function calling - #1029
Merged
Conversation
deathbeam
force-pushed
the
tools
branch
5 times, most recently
from
March 17, 2025 19:14
7885523 to
41c7751
Compare
deathbeam
marked this pull request as ready for review
March 17, 2025 19:17
deathbeam
force-pushed
the
tools
branch
5 times, most recently
from
March 17, 2025 20:00
24fed0a to
b6c7b19
Compare
deathbeam
force-pushed
the
tools
branch
2 times, most recently
from
March 17, 2025 20:03
a23ccfa to
eaba359
Compare
deathbeam
force-pushed
the
tools
branch
8 times, most recently
from
March 17, 2025 21:24
f4e0432 to
cc4b04f
Compare
deathbeam
marked this pull request as draft
March 17, 2025 21:33
deathbeam
force-pushed
the
tools
branch
2 times, most recently
from
March 18, 2025 08:46
baa2848 to
7604698
Compare
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
* main: chore(doc): auto generate docs Properly null check opts.glob when rigpgrep is not available (CopilotC-Nvim#1183) docs: add adborden as a contributor for code (CopilotC-Nvim#1171) fix: CopilotC-Nvim#1153 use filepath on accept (CopilotC-Nvim#1170) chore(doc): auto generate docs chore(main): release 3.12.1 (CopilotC-Nvim#1164) docs: add fredrikaverpil as a contributor for code (CopilotC-Nvim#1165) chore(doc): auto generate docs fix: move plenary import into function (CopilotC-Nvim#1162) chore(doc): auto generate docs chore(main): release 3.12.0 (CopilotC-Nvim#1131) docs: add azdanov as a contributor for doc, and code (CopilotC-Nvim#1130) chore(doc): auto generate docs docs: update mentions of default model to gpt-4.1 feat: switch to new default model gpt-4.1 chore(doc): auto generate docs chore(main): release 3.11.1 (CopilotC-Nvim#1116) chore(doc): auto generate docs [pre-commit.ci] pre-commit autoupdate
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Collaborator
Author
Collaborator
Author
|
So only 1 thing remains and that is better resource template handling, but I think I can just skip it for now, so will test this a bit more (any more testing would be helpful too) and then probably merge, but its a lot of breaking changes to configs and everything |
* main: docs: add AtifChy as a contributor for code, and doc (CopilotC-Nvim#1192) chore(doc): auto generate docs feat: add Windows_NT support in Makefile and dynamic library loading (CopilotC-Nvim#1190) chore(doc): auto generate docs chore(main): release 3.12.2 (CopilotC-Nvim#1172)
Signed-off-by: Tomas Slusny <slusnucky@gmail.com>
Collaborator
Author
|
Well lets see if this works :) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

BEGIN_COMMIT_OVERRIDE
feat(context)!: switch from contexts to function calling
This change modernizes the CopilotChat architecture by implementing a tools-based
approach using function calling. Each tool has a schema definition that enables
structured parameter collection and validation. Resources are now handled more
consistently, with a clearer distinction between content types.
https://platform.openai.com/docs/guides/function-calling?api-mode=responses
https://modelcontextprotocol.info/specification/2024-11-05/server/tools/
BREAKING CHANGE: Multiple breaking changes due to big refactor:
Closes #1045
Closes #1053
Closes #1076
Closes #1090
Closes #1096
Closes #526
END_COMMIT_OVERRIDE
TODO:
https://github.com/ravitemer/mcphub.nvim integration: