mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-21 10:50:14 +01:00
👓 feat: Vision Support for Assistants (#2195)
* refactor(assistants/chat): use promises to speed up initialization, initialize shared variables, include `attachedFileIds` to streamRunManager * chore: additional typedefs * fix(OpenAIClient): handle edge case where attachments promise is resolved * feat: createVisionPrompt * feat: Vision Support for Assistants
This commit is contained in:
parent
1f0fb497f8
commit
798e8763d0
16 changed files with 376 additions and 100 deletions
|
|
@ -82,6 +82,7 @@ export type TValidatedAzureConfig = {
|
|||
|
||||
export enum Capabilities {
|
||||
code_interpreter = 'code_interpreter',
|
||||
image_vision = 'image_vision',
|
||||
retrieval = 'retrieval',
|
||||
actions = 'actions',
|
||||
tools = 'tools',
|
||||
|
|
@ -100,6 +101,7 @@ export const assistantEndpointSchema = z.object({
|
|||
.optional()
|
||||
.default([
|
||||
Capabilities.code_interpreter,
|
||||
Capabilities.image_vision,
|
||||
Capabilities.retrieval,
|
||||
Capabilities.actions,
|
||||
Capabilities.tools,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue