Increase max token length for conversation title generation
This commit is contained in:
parent
e6dcefacf5
commit
b5f066ff34
@ -33,7 +33,7 @@ func (c *Conversation) GenerateTitle() error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
model := "gpt-3.5-turbo" // use cheap model to generate title
|
model := "gpt-3.5-turbo" // use cheap model to generate title
|
||||||
response, err := CreateChatCompletion(model, messages, 10)
|
response, err := CreateChatCompletion(model, messages, 25)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user