discourse-ai/spec/lib/completions/dialects
Sam 4923837165
FIX: Llm selector / forced tools / search tool (#862)
* FIX: Llm selector / forced tools / search tool


This fixes a few issues:

1. When search was not finding any semantic results we would break the tool
2. Gemin / Anthropic models did not implement forced tools previously despite it being an API option
3. Mechanics around displaying llm selector were not right. If you disabled LLM selector server side persona PM did not work correctly.
4. Disabling native tools for anthropic model moved out of a site setting. This deliberately does not migrate cause this feature is really rare to need now, people who had it set probably did not need it.
5. Updates anthropic model names to latest release

* linting

* fix a couple of tests I missed

* clean up conditional
2024-10-25 06:24:53 +11:00
..
chat_gpt_spec.rb DEV: Remove old code now that features rely on LlmModels. (#729) 2024-07-30 13:44:57 -03:00
claude_spec.rb FIX: Llm selector / forced tools / search tool (#862) 2024-10-25 06:24:53 +11:00
dialect_context.rb DEV: Remove old code now that features rely on LlmModels. (#729) 2024-07-30 13:44:57 -03:00
dialect_spec.rb DEV: Remove old code now that features rely on LlmModels. (#729) 2024-07-30 13:44:57 -03:00
gemini_spec.rb DEV: Remove old code now that features rely on LlmModels. (#729) 2024-07-30 13:44:57 -03:00
ollama_spec.rb FEATURE: Tools for models from Ollama provider (#819) 2024-10-11 07:25:53 +11:00
ollama_tools_spec.rb FEATURE: Tools for models from Ollama provider (#819) 2024-10-11 07:25:53 +11:00
open_ai_compatible_spec.rb FIX: Malformed message in systemless + inline img scenario (#771) 2024-08-23 16:41:57 -03:00