mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 15:00:57 +03:00
lint fixes
This commit is contained in:
@@ -103,38 +103,6 @@ class AzureChatOpenAI_ChatModels implements INode {
|
||||
step: 1,
|
||||
optional: true,
|
||||
additionalParams: true
|
||||
// },
|
||||
// {
|
||||
// label: 'Allow Image Uploads',
|
||||
// name: 'allowImageUploads',
|
||||
// type: 'boolean',
|
||||
// description:
|
||||
// 'Automatically uses gpt-4-vision-preview when image is being uploaded from chat. Only works with LLMChain, Conversation Chain, ReAct Agent, and Conversational Agent',
|
||||
// default: false,
|
||||
// optional: true
|
||||
// },
|
||||
// {
|
||||
// label: 'Image Resolution',
|
||||
// description: 'This parameter controls the resolution in which the model views the image.',
|
||||
// name: 'imageResolution',
|
||||
// type: 'options',
|
||||
// options: [
|
||||
// {
|
||||
// label: 'Low',
|
||||
// name: 'low'
|
||||
// },
|
||||
// {
|
||||
// label: 'High',
|
||||
// name: 'high'
|
||||
// },
|
||||
// {
|
||||
// label: 'Auto',
|
||||
// name: 'auto'
|
||||
// }
|
||||
// ],
|
||||
// default: 'low',
|
||||
// optional: false,
|
||||
// additionalParams: true
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -155,9 +123,6 @@ class AzureChatOpenAI_ChatModels implements INode {
|
||||
const azureOpenAIApiDeploymentName = getCredentialParam('azureOpenAIApiDeploymentName', credentialData, nodeData)
|
||||
const azureOpenAIApiVersion = getCredentialParam('azureOpenAIApiVersion', credentialData, nodeData)
|
||||
|
||||
// const allowImageUploads = nodeData.inputs?.allowImageUploads as boolean
|
||||
// const imageResolution = nodeData.inputs?.imageResolution as string
|
||||
|
||||
const obj: Partial<AzureOpenAIInput> & BaseLLMParams & Partial<OpenAIChatInput> = {
|
||||
temperature: parseFloat(temperature),
|
||||
modelName,
|
||||
@@ -176,7 +141,7 @@ class AzureChatOpenAI_ChatModels implements INode {
|
||||
|
||||
const multiModalOption: IMultiModalOption = {
|
||||
image: {
|
||||
allowImageUploads: false,
|
||||
allowImageUploads: false
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user