mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-12-01 09:15:33 +08:00
refactor: remove retry_count from ProviderConfig and enhance error handling in tool execution
- Removed the `retry_count` field from `ProviderConfig` as it is no longer needed. - Introduced `argument_error` field in `ToolCall` to capture errors related to tool arguments. - Updated various components to handle argument errors more gracefully, including in the `ToolDispatcher` and `ConversationOutput`. - Enhanced tests to validate the new error handling and ensure proper functionality of tool calls.
This commit is contained in:
1 parent
29fde7d7c7
commit
d83e14af9a
38 files changed
+1105
-444
No files matched your search
@@ -0,0 +1 @@
|
||||
ALTER TABLE tool_round_calls ADD COLUMN argument_error TEXT;
|
||||
Reference in new issue
Block a user