Merge pull request #5173 from ConnectAI-E/feature/dalle

add dalle3 model
This commit is contained in:
Dogtiti
2024-08-05 20:49:37 +08:00
committed by GitHub
9 changed files with 141 additions and 33 deletions

View File

@@ -1,4 +1,5 @@
import { LLMModel } from "../client/api";
import { DalleSize } from "../typing";
import { getClientConfig } from "../config/client";
import {
DEFAULT_INPUT_TEMPLATE,
@@ -61,6 +62,7 @@ export const DEFAULT_CONFIG = {
compressMessageLengthThreshold: 1000,
enableInjectSystemPrompts: true,
template: config?.template ?? DEFAULT_INPUT_TEMPLATE,
size: "1024x1024" as DalleSize,
},
};