Lorenze Jay
3fec4669af
Lorenze/fix/anthropic available functions call ( #4360 )
...
* feat: enhance AnthropicCompletion to support available functions in tool execution
- Updated the `_prepare_completion_params` method to accept `available_functions` for better tool handling.
- Modified tool execution logic to directly return results from tools when `available_functions` is provided, aligning behavior with OpenAI's model.
- Added new test cases to validate the execution of tools with available functions, ensuring correct argument passing and result formatting.
This change improves the flexibility and usability of the Anthropic LLM integration, allowing for more complex interactions with tools.
* refactor: remove redundant event emission in AnthropicCompletion
* fix test
* dry up
2026-02-03 16:30:43 -08:00
..
2026-01-07 11:36:36 -05:00
2026-01-30 17:10:00 -05:00
2026-01-21 11:12:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-27 14:56:50 -08:00
2025-12-10 20:32:10 -05:00
2026-02-03 16:30:43 -08:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-26 14:55:03 -08:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-02-03 10:10:33 -03:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-22 17:44:03 -08:00
2025-10-20 14:10:19 -07:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2025-10-20 14:10:19 -07:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-22 17:44:03 -08:00
2026-01-22 17:44:03 -08:00
2026-01-22 17:44:03 -08:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-10-20 14:10:19 -07:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2025-10-21 13:48:21 -04:00
2025-10-21 13:48:21 -04:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2026-01-20 21:44:45 -08:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-22 17:44:03 -08:00
2025-12-10 20:32:10 -05:00
2026-01-22 17:44:03 -08:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-22 17:44:03 -08:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2025-10-21 13:48:21 -04:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2026-02-02 11:24:02 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-20 21:44:45 -08:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2026-01-23 15:13:25 -05:00
2025-10-21 13:48:21 -04:00
2026-01-22 17:44:03 -08:00
2026-01-22 17:44:03 -08:00
2026-01-22 17:44:03 -08:00
2026-01-22 17:44:03 -08:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-07 10:42:27 -08:00
2026-01-07 10:42:27 -08:00
2026-01-07 10:42:27 -08:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2026-01-23 15:13:25 -05:00
2025-12-10 20:32:10 -05:00
2025-12-10 20:32:10 -05:00
2025-11-24 15:43:48 -05:00
2025-11-24 15:43:48 -05:00
2025-11-24 15:43:48 -05:00
2025-11-24 15:43:48 -05:00
2025-11-24 15:43:48 -05:00
2025-11-24 15:43:48 -05:00
2025-11-24 15:43:48 -05:00