discourse-ai/lib
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
..
ai_bot FIX: Llm selector / forced tools / search tool (#862) 2024-10-25 06:24:53 +11:00
ai_helper FIX: Basic cleanup of AI Caption to remove line breaks and pipes (#857) 2024-10-23 18:38:29 -03:00
automation FEATURE: better logging for automation reports (#853) 2024-10-23 16:49:56 +11:00
completions FIX: Llm selector / forced tools / search tool (#862) 2024-10-25 06:24:53 +11:00
configuration FEATURE: improve visibility of AI usage in LLM page (#845) 2024-10-22 11:16:02 +11:00
database DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
discord/bot FEATURE: Discord Bot integration (#831) 2024-10-16 12:41:18 -03:00
embeddings FIX: Llm selector / forced tools / search tool (#862) 2024-10-25 06:24:53 +11:00
inference FIX: api key header error (#839) 2024-10-16 15:57:36 -03:00
nsfw DEV: Fix various typos (#434) 2024-01-19 12:51:26 +01:00
sentiment UX: Use stacked line chart for post sentiment (#737) 2024-08-02 14:23:29 -07:00
summarization UX: Avoid introductory phrases and summarize topics without replies (#848) 2024-10-21 17:53:48 -03:00
tasks/modules FEATURE: Index embeddings using bit vectors (#824) 2024-10-14 13:26:03 -03:00
tokenizer FEATURE: GPT4o Tokenizer (#721) 2024-07-22 15:26:14 -03:00
toxicity FIX: Truncate content for sentiment/toxicity classification (#431) 2024-01-17 15:17:58 -03:00
utils FEATURE: Add basic connection check to DNS SRV resources (#563) 2024-04-12 10:39:19 -03:00
automation.rb FEATURE: allow llm triage to automatically hide posts (#820) 2024-10-04 16:11:30 +10:00
chat_message_classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
engine.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
guardian_extensions.rb FEATURE: Make hot topic gists opt-in. (#846) 2024-10-21 15:15:25 -03:00
multisite_hash.rb FIX: properly cache user locale (#593) 2024-04-26 09:28:35 -03:00
post_classificator.rb DEV: port directory structure to Zeitwerk (#319) 2023-11-29 15:17:46 +11:00
summarization.rb FEATURE: Generate topic gists for the hot topics list. (#837) 2024-10-18 18:01:39 -03:00
topic_extensions.rb FEATURE: Generate topic gists for the hot topics list. (#837) 2024-10-18 18:01:39 -03:00