Cohee
7e7b3e30c4
Tool Calling: Implement stealth tool defintions ( #3192 )
...
* Tool Calling: Implement stealth tool defintions
* Move isStealth check up
* Always stop generation on stealth tool calls
* Image Generation: use stealth flag for tool registration
* Update stealth property description to clarify no follow-up generation will be performed
* Revert "Image Generation: use stealth flag for tool registration"
This reverts commit 8d13445c0b66e4c0ef1ddcfaf18ab185464de600.
2024-12-19 21:17:47 +02:00
Cohee
9c43999e4b
Fix /tools-unregister
2024-12-06 17:15:40 +02:00
Cohee
649c3911eb
Add shouldRegister arg to /tools-register
2024-11-03 19:11:07 +02:00
Cohee
3387fe4bd6
unvendor: Replace DOMPurify
2024-10-16 23:11:13 +03:00
Cohee
42f8b86b11
Tool Calling: stringify errors instead of silently failing
2024-10-09 22:39:55 +03:00
Cohee
3fd7ca90ed
Tool Calling: Don't try to parse if tool calling is not supported
2024-10-09 10:49:02 +00:00
Cohee
15efdb6609
Merge pull request #2962 from SillyTavern/cohere-v2
...
Migrate Cohere to /v2/chat
2024-10-09 10:29:04 +03:00
Cohee
c49138dfea
Tool Calling: Make formatMessage async
2024-10-09 03:56:24 +03:00
Cohee
bc0f5bf4ce
Tool Calling: add shouldRegister function to tool defintion
2024-10-09 03:53:32 +03:00
Cohee
c2935ba4a7
Migrate Cohere to /v2/chat
...
Closes #2916
2024-10-08 23:50:09 +03:00
Cohee
7db85e7ed8
Limit tool calls recursion
2024-10-07 00:22:27 +03:00
Cohee
89bad21881
Allow tool registration on swipes
2024-10-06 22:25:23 +03:00
Cohee
6b022e783d
Fix tool call reuse between Claude and OAI
2024-10-06 22:22:19 +03:00
Cohee
927c2418e0
Group tool calls in the result
2024-10-06 20:19:58 +03:00
Cohee
96862be6b0
Fix tools-list
2024-10-06 13:01:14 +03:00
Cohee
077ba8b03d
Add slash commands for tools management
2024-10-06 12:49:08 +03:00
Cohee
7dea59f026
Format tool result if JSON
2024-10-05 20:54:37 +03:00
Cohee
47e3cf82e0
Don't call tools on stopped streams. Emit events
2024-10-05 19:08:57 +03:00
Cohee
6a304e8884
Fix generation looping
2024-10-05 00:20:06 +03:00
Cohee
01fc5113d7
Fix ghost messages
2024-10-04 23:13:56 +03:00
Cohee
d5d8d6c876
Remove warning log for unregister
2024-10-04 13:05:03 +00:00
Cohee
db04fff3df
Claude: Streamed tool calls parser
2024-10-04 11:31:15 +00:00
Cohee
ca1f6a56c3
Merge branch 'tool-calling' of https://github.com/SillyTavern/SillyTavern into tool-calling
2024-10-04 13:39:13 +03:00
Cohee
0cab91e0f8
Add Claude streamed tool parser
2024-10-04 13:39:08 +03:00
Cohee
4a2989718c
ESLint and JSDoc fixes
2024-10-04 10:34:17 +00:00
Cohee
c3c10a629e
Claude: new prompt converter + non-streaming tools
2024-10-04 03:41:25 +03:00
Cohee
559f1b81f7
Remove tool calling for Cohere v1
2024-10-04 02:11:46 +03:00
Cohee
01f03dbf50
Support MistralAI streaming tool calls
2024-10-04 01:51:41 +03:00
Cohee
5cf64a2613
Update tool registration
2024-10-04 00:39:28 +03:00
Cohee
6558b10675
Show an error when all tools fail
2024-10-04 00:11:36 +03:00
Cohee
1e076a3e43
Prettify displayed message
2024-10-02 23:32:29 +03:00
Cohee
2b7c03f3b0
Nicely format message for tool calls
2024-10-02 23:13:11 +03:00
Cohee
0f8c1fa95d
Save tool calls to visible chats.
2024-10-02 22:17:27 +03:00
Cohee
63724a2b38
eslint update
2024-10-02 01:54:47 +03:00
Cohee
68c87f7e7a
Fix code scanning alert no. 231: Prototype-polluting function
...
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
2024-10-02 01:53:03 +03:00
Cohee
c94c06ed4d
Implement function tool calling for OpenAI
2024-10-02 01:45:57 +03:00
Cohee
8006795897
New tool calling framework
2024-10-02 01:00:48 +03:00