mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-18 14:31:30 +03:00
Remove no-longer-required ts-expect-error
This commit is contained in:
parent
efca8a2db2
commit
27583248d8
@ -16,8 +16,6 @@ export class OpenAIClient implements AIClient {
|
||||
const messages: PromptMessage[] = [{ role: MessageRole.User, content: prompt }];
|
||||
|
||||
const response = await this.openAI.chat.completions.create({
|
||||
// @ts-expect-error There is a type mismatch where it seems to want a "name" paramater
|
||||
// that isn't required https://github.com/openai/openai-openapi/issues/118#issuecomment-1847667988
|
||||
messages,
|
||||
model: this.modelName,
|
||||
max_tokens: 400
|
||||
|
Loading…
Reference in New Issue
Block a user