mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 19:00:59 +03:00
fix for concurrency
This commit is contained in:
@@ -21,6 +21,8 @@ export type CommonType = string | number | boolean | undefined | null
|
||||
|
||||
export type MessageType = 'apiMessage' | 'userMessage'
|
||||
|
||||
export type ImageDetail = 'auto' | 'low' | 'high'
|
||||
|
||||
/**
|
||||
* Others
|
||||
*/
|
||||
@@ -158,6 +160,21 @@ export interface IMultiModalOption {
|
||||
audio?: Record<string, any>
|
||||
}
|
||||
|
||||
export type MessageContentText = {
|
||||
type: 'text'
|
||||
text: string
|
||||
}
|
||||
|
||||
export type MessageContentImageUrl = {
|
||||
type: 'image_url'
|
||||
image_url:
|
||||
| string
|
||||
| {
|
||||
url: string
|
||||
detail?: ImageDetail
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Classes
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user