discourse-ai/app
Sam 5b6d39a206
FEATURE: flexible image handling within messages (#1214)
* DEV: refactor bot internals

This introduces a proper object for bot context, this makes
it simpler to improve context management as we go cause we
have a nice object to work with

Starts refactoring allowing for a single message to have
multiple uploads throughout

* transplant method to message builder

* chipping away at inline uploads

* image support is improved but not fully fixed yet

partially working in anthropic, still got quite a few dialects to go

* open ai and claude are now working

* Gemini is now working as well

* fix nova

* more dialects...

* fix ollama

* fix specs

* update artifact fixed

* more tests

* spam scanner

* pass more specs

* bunch of specs improved

* more bug fixes.

* all the rest of the tests are working

* improve tests coverage and ensure custom tools are aware of new context object

* tests are working, but we need more tests

* resolve merge conflict

* new preamble and expanded specs on ai tool

* remove concept of "standalone tools"

This is no longer needed, we can set custom raw, tool details are injected into tool calls
2025-03-31 12:39:07 -03:00
..
controllers/discourse_ai FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
helpers/discourse_ai/ai_bot FIX: automatically bust cache for share ai assets (#942) 2024-11-22 11:23:15 +11:00
jobs FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
mailers FEATURE: support sending AI report to an email address (#368) 2023-12-19 17:51:49 +11:00
models FEATURE: flexible image handling within messages (#1214) 2025-03-31 12:39:07 -03:00
serializers FIX: Ensure category badging present in sentiment reports (#1222) 2025-03-26 12:37:41 -07:00
services DEV: Use full URL for problem check message (#1165) 2025-03-05 11:31:23 +08:00
views FIX: automatically bust cache for share ai assets (#942) 2024-11-22 11:23:15 +11:00