mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-23 17:43:47 +03:00
Spread comment on multiple lines
This commit is contained in:
parent
5cd2368236
commit
c34a0047ee
@ -46,7 +46,8 @@ export class OpenAIProvider implements AIProvider {
|
||||
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
|
||||
// @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.model,
|
||||
max_tokens: 400
|
||||
|
Loading…
Reference in New Issue
Block a user