merlyn/server/utils/chats
Sean Hatfield 31a8ead823
Fix multimodal chats via openai compat api (#4135)
* fix multimodal chats via openai compat api

* lint

* add tests for multi-modal content in openai compat endpoint

* refactor to normalize how openai attachments are handled

* uncheck file

* rewrite tests, autodetect mime from dataurl, and spread attachments from prompt

* lint

* revert and fix tests

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-22 09:57:32 -07:00
..
commands Clear chat window on /reset (#1261) 2024-05-01 20:39:58 -07:00
agents.js wip agent ui animation (#2999) 2025-01-22 11:10:02 -08:00
apiChatHandler.js Patch apiChatHandler to include agent chats (#3905) 2025-06-03 14:39:55 -07:00
embed.js Configurable message limit for embed chat widget (#4114) 2025-07-10 12:45:53 -07:00
index.js Prompt variables (#3359) 2025-03-25 12:44:19 -07:00
openaiCompatible.js Fix multimodal chats via openai compat api (#4135) 2025-07-22 09:57:32 -07:00
stream.js Prompt variables (#3359) 2025-03-25 12:44:19 -07:00