Skip to content

Commit

Permalink
fix: Update lint for engine in ThreadAssistantInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
hiro-v committed Dec 6, 2023
1 parent 72252d0 commit 481abc4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/types/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export type ModelInfo = {
id: string;
settings: ModelSettingParams;
parameters: ModelRuntimeParams;
engine: InferenceEngine;
engine?: InferenceEngine;
};

/**
Expand Down
1 change: 1 addition & 0 deletions web/hooks/useCreateNewThread.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ export const useCreateNewThread = () => {
top_p: 0,
stream: false,
},
engine: undefined
},
instructions: assistant.instructions,
}
Expand Down

0 comments on commit 481abc4

Please sign in to comment.