mirror of
https://github.com/perstarkse/minne.git
synced 2026-06-24 19:06:30 +02:00
chore: dependabot deps update
chore: openai version bump
This commit is contained in:
Generated
+3
-3
@@ -958,9 +958,9 @@
|
||||
"license": "ISC"
|
||||
},
|
||||
"node_modules/picomatch": {
|
||||
"version": "2.3.1",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz",
|
||||
"integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==",
|
||||
"version": "2.3.2",
|
||||
"resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz",
|
||||
"integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==",
|
||||
"license": "MIT",
|
||||
"engines": {
|
||||
"node": ">=8.6"
|
||||
|
||||
@@ -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