mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-28 10:29:30 +02:00
fix: compliant with gpt-5 models
This commit is contained in:
@@ -334,12 +334,10 @@ async fn vision_markdown(
|
||||
|
||||
let request = CreateChatCompletionRequestArgs::default()
|
||||
.model(settings.image_processing_model.clone())
|
||||
.temperature(0.0)
|
||||
.messages([ChatCompletionRequestUserMessageArgs::default()
|
||||
.content(content_parts)
|
||||
.build()?
|
||||
.into()])
|
||||
.max_tokens(16400_u32)
|
||||
.build()?;
|
||||
|
||||
let response = client.chat().create(request).await?;
|
||||
|
||||
Reference in New Issue
Block a user