Spread comment on multiple lines

This commit is contained in:
Caleb Owens 2024-03-10 17:43:05 +00:00 committed by Mattias Granlund
parent 5cd2368236
commit c34a0047ee

View File

@ -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