discourse-ai/spec/lib/modules/ai_bot
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
..
jobs/regular FEATURE: more accurate and faster titles (#791) 2024-09-03 15:52:20 +10:00
personas FEATURE: Make tool support polymorphic (#798) 2024-09-16 08:17:17 +10:00
tools FIX: Llm selector / forced tools / search tool (#862) 2024-10-25 06:24:53 +11:00
bot_spec.rb DEV: Remove old code now that features rely on LlmModels. (#729) 2024-07-30 13:44:57 -03:00
entry_point_spec.rb FEATURE: smarter persona tethering (#832) 2024-10-16 07:20:31 +11:00
playground_spec.rb DEV: Use `ChatSDK.create` instead of service in specs 2024-10-16 18:18:32 +02:00
question_consolidator_spec.rb DEV: Remove old code now that features rely on LlmModels. (#729) 2024-07-30 13:44:57 -03:00
site_setting_extension_spec.rb DEV: Rewire AI bot internals to use LlmModel (#638) 2024-06-18 14:32:14 -03:00