Skip to content

Commit 003ec3f

Browse files
committed
normalize llm conversation to work with claude and vertex models
1 parent ed4b760 commit 003ec3f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/modules/llms/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -599,7 +599,7 @@ export class LlmsBot implements PayableBot {
599599
`streamChatCompletion result = tokens: ${price.promptTokens + price.completionTokens} | ${model} | price: ${price.price}¢` // }
600600
)
601601
conversation.push({
602-
role: model === LlmsModelsEnum.GEMINI ? 'model' : 'assistant',
602+
role: 'assistant',
603603
content: completion.completion?.content ?? ''
604604
})
605605
return {

0 commit comments

Comments
 (0)