* DEV: use a proper object for tool definition This moves away from using a loose hash to define tools, which is error prone. Instead given a proper object we will also be able to coerce the return values to match tool definition correctly * fix xml tools * fix anthropic tools * fix specs... a few more to go * specs are passing * FIX: coerce values for XML tool calls * Update spec/lib/completions/tool_definition_spec.rb Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> |
||
---|---|---|
.. | ||
chat_gpt_spec.rb | ||
claude_spec.rb | ||
dialect_context.rb | ||
dialect_spec.rb | ||
gemini_spec.rb | ||
mistral_spec.rb | ||
nova_spec.rb | ||
ollama_spec.rb | ||
ollama_tools_spec.rb | ||
open_ai_compatible_spec.rb |