mirror of
https://github.com/perstarkse/minne.git
synced 2026-06-25 03:16:26 +02:00
chore: dependabot deps update
chore: openai version bump
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
use async_openai::types::ListModelResponse;
|
||||
use async_openai::types::models::ListModelResponse;
|
||||
use axum::{
|
||||
extract::{Query, State},
|
||||
Form,
|
||||
|
||||
@@ -234,7 +234,7 @@ fn build_chat_event_stream(
|
||||
state: HtmlState,
|
||||
openai_stream: impl Stream<
|
||||
Item = Result<
|
||||
async_openai::types::CreateChatCompletionStreamResponse,
|
||||
async_openai::types::chat::CreateChatCompletionStreamResponse,
|
||||
async_openai::error::OpenAIError,
|
||||
>,
|
||||
> + Send
|
||||
@@ -342,7 +342,7 @@ async fn prepare_chat_request(
|
||||
history: &[Message],
|
||||
) -> Result<
|
||||
(
|
||||
async_openai::types::CreateChatCompletionRequest,
|
||||
async_openai::types::chat::CreateChatCompletionRequest,
|
||||
Vec<String>,
|
||||
),
|
||||
SseResponse,
|
||||
|
||||
Reference in New Issue
Block a user