fix: Update lint for engine in ThreadAssistantInfo

This commit is contained in:
hiro 2023-12-06 09:42:21 +07:00
parent 6cd4cb95fe
commit fbf8ff9d3d
2 changed files with 2 additions and 1 deletions

View File

@ -157,7 +157,7 @@ export type ModelInfo = {
id: string; id: string;
settings: ModelSettingParams; settings: ModelSettingParams;
parameters: ModelRuntimeParams; parameters: ModelRuntimeParams;
engine: InferenceEngine; engine?: InferenceEngine;
}; };
/** /**

View File

@ -67,6 +67,7 @@ export const useCreateNewThread = () => {
top_p: 0, top_p: 0,
stream: false, stream: false,
}, },
engine: undefined
}, },
instructions: assistant.instructions, instructions: assistant.instructions,
} }