mirror of
https://ghfast.top/https://github.com/discourse/discourse-ai.git
synced 2026-07-16 11:36:23 +08:00
* 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.rb | ||
| claude.rb | ||
| claude_tools.rb | ||
| cohere_tools.rb | ||
| command.rb | ||
| dialect.rb | ||
| fake.rb | ||
| gemini.rb | ||
| mistral.rb | ||
| nova.rb | ||
| nova_tools.rb | ||
| ollama.rb | ||
| ollama_tools.rb | ||
| open_ai_compatible.rb | ||
| open_ai_tools.rb | ||
| xml_tools.rb | ||