mirror of
https://gitlab.com/soapbox-pub/shakespeare.git
synced 2026-12-05 16:23:36 +00:00
Fix attachment rendering
This commit is contained in:
3 files changed
+34
-87
No files matched your search
@@ -347,7 +347,7 @@ export class SessionManager {
|
||||
if (textParts.length > 0) {
|
||||
return {
|
||||
...msg,
|
||||
content: textParts.map(part => (part as OpenAI.Chat.Completions.ChatCompletionContentPartText).text).join('\n')
|
||||
content: textParts,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user