discourse-ai/spec/lib/completions
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
..
dialects FIX: Llm selector / forced tools / search tool (#862) 2024-10-25 06:24:53 +11:00
endpoints FIX: Llm selector / forced tools / search tool (#862) 2024-10-25 06:24:53 +11:00
function_call_normalizer_spec.rb FIX: more robust function call support (#581) 2024-04-19 06:54:54 +10:00
llm_spec.rb FEATURE: better logging for automation reports (#853) 2024-10-23 16:49:56 +11:00
prompt_messages_builder_spec.rb FEATURE: support Chat with AI Persona via a DM (#488) 2024-05-06 09:49:02 +10:00
prompt_spec.rb FEATURE: Add vision support to AI personas (Claude 3) (#546) 2024-03-27 14:30:11 +11:00
xml_tag_stripper_spec.rb FIX: display search correctly, bug when stripping XML (#668) 2024-06-14 15:28:40 +10:00