mirror of
https://github.com/gitbutlerapp/gitbutler.git
synced 2024-12-24 18:12:48 +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 messages: PromptMessage[] = [{ role: MessageRole.User, content: prompt }];
|
||||||
|
|
||||||
const response = await this.openAI.chat.completions.create({
|
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,
|
messages,
|
||||||
model: this.model,
|
model: this.model,
|
||||||
max_tokens: 400
|
max_tokens: 400
|
||||||
|
Loading…
Reference in New Issue
Block a user