🤖 fix: Minor Assistants Issues (#4436)

* refactor(OpenAIClient): titleChatCompletion try/catch

* fix: remove duplicate concatenation as seems to be handled by client SDK now

* fix: assistants image upload

* chore: imports order
This commit is contained in:
Danny Avila 2024-10-16 15:04:10 -04:00 committed by GitHub
parent 65888c274a
commit b85c6206ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 26 additions and 16 deletions

View file

@ -329,7 +329,7 @@ class StreamRunManager {
}
} else if (typeof delta[key] === 'string' && typeof data[key] === 'string') {
// Concatenate strings
data[key] += delta[key];
// data[key] += delta[key];
} else if (
typeof delta[key] === 'object' &&
delta[key] !== null &&