Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
OpenDAS
dynamo
Commits
b6a3b0c6
Unverified
Commit
b6a3b0c6
authored
Apr 01, 2026
by
ishandhanani
Committed by
GitHub
Apr 01, 2026
Browse files
refactor(2/3): rename dynamo-async-openai to dynamo-protocols (#7565)
parent
c84c0934
Changes
155
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
7 additions
and
7 deletions
+7
-7
lib/protocols/src/types/thread.rs
lib/protocols/src/types/thread.rs
+0
-0
lib/protocols/src/types/upload.rs
lib/protocols/src/types/upload.rs
+0
-0
lib/protocols/src/types/users.rs
lib/protocols/src/types/users.rs
+0
-0
lib/protocols/src/types/vector_store.rs
lib/protocols/src/types/vector_store.rs
+0
-0
lib/protocols/src/uploads.rs
lib/protocols/src/uploads.rs
+0
-0
lib/protocols/src/users.rs
lib/protocols/src/users.rs
+0
-0
lib/protocols/src/util.rs
lib/protocols/src/util.rs
+0
-0
lib/protocols/src/vector_store_file_batches.rs
lib/protocols/src/vector_store_file_batches.rs
+0
-0
lib/protocols/src/vector_store_files.rs
lib/protocols/src/vector_store_files.rs
+0
-0
lib/protocols/src/vector_stores.rs
lib/protocols/src/vector_stores.rs
+0
-0
lib/protocols/tests/bring-your-own-type.rs
lib/protocols/tests/bring-your-own-type.rs
+2
-2
lib/protocols/tests/completion.rs
lib/protocols/tests/completion.rs
+1
-1
lib/protocols/tests/embeddings.rs
lib/protocols/tests/embeddings.rs
+1
-1
lib/protocols/tests/ser_de.rs
lib/protocols/tests/ser_de.rs
+1
-1
lib/protocols/tests/whisper.rs
lib/protocols/tests/whisper.rs
+2
-2
No files found.
lib/
async-openai
/src/types/thread.rs
→
lib/
protocols
/src/types/thread.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/src/types/upload.rs
→
lib/
protocols
/src/types/upload.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/src/types/users.rs
→
lib/
protocols
/src/types/users.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/src/types/vector_store.rs
→
lib/
protocols
/src/types/vector_store.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/src/uploads.rs
→
lib/
protocols
/src/uploads.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/src/users.rs
→
lib/
protocols
/src/users.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/src/util.rs
→
lib/
protocols
/src/util.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/src/vector_store_file_batches.rs
→
lib/
protocols
/src/vector_store_file_batches.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/src/vector_store_files.rs
→
lib/
protocols
/src/vector_store_files.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/src/vector_stores.rs
→
lib/
protocols
/src/vector_stores.rs
View file @
b6a3b0c6
File moved
lib/
async-openai
/tests/bring-your-own-type.rs
→
lib/
protocols
/tests/bring-your-own-type.rs
View file @
b6a3b0c6
...
...
@@ -12,11 +12,11 @@
//! The purpose of this test to make sure that all _byot methods compiles with custom types.
use
std
::
pin
::
Pin
;
use
dynamo_
async_openai
::{
Client
,
error
::
OpenAIError
};
use
dynamo_
protocols
::{
Client
,
error
::
OpenAIError
};
use
futures
::
Stream
;
use
serde_json
::{
Value
,
json
};
impl
dynamo_
async_openai
::
traits
::
AsyncTryFrom
<
MyJson
>
for
reqwest
::
multipart
::
Form
{
impl
dynamo_
protocols
::
traits
::
AsyncTryFrom
<
MyJson
>
for
reqwest
::
multipart
::
Form
{
type
Error
=
OpenAIError
;
async
fn
try_from
(
_
value
:
MyJson
)
->
Result
<
Self
,
Self
::
Error
>
{
Ok
(
reqwest
::
multipart
::
Form
::
new
())
...
...
lib/
async-openai
/tests/completion.rs
→
lib/
protocols
/tests/completion.rs
View file @
b6a3b0c6
...
...
@@ -9,7 +9,7 @@
// Licensed under Apache 2.0
//! This test is primarily to make sure that macros_rules for From traits are correct.
use
dynamo_
async_openai
::
types
::
Prompt
;
use
dynamo_
protocols
::
types
::
Prompt
;
fn
prompt_input
<
T
>
(
input
:
T
)
->
Prompt
where
...
...
lib/
async-openai
/tests/embeddings.rs
→
lib/
protocols
/tests/embeddings.rs
View file @
b6a3b0c6
...
...
@@ -9,7 +9,7 @@
// Licensed under Apache 2.0
//! This test is primarily to make sure that macros_rules for From traits are correct.
use
dynamo_
async_openai
::
types
::
EmbeddingInput
;
use
dynamo_
protocols
::
types
::
EmbeddingInput
;
fn
embedding_input
<
T
>
(
input
:
T
)
->
EmbeddingInput
where
...
...
lib/
async-openai
/tests/ser_de.rs
→
lib/
protocols
/tests/ser_de.rs
View file @
b6a3b0c6
...
...
@@ -8,7 +8,7 @@
// Modifications Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES.
// Licensed under Apache 2.0
use
dynamo_
async_openai
::
types
::{
use
dynamo_
protocols
::
types
::{
ChatCompletionRequestSystemMessageArgs
,
ChatCompletionRequestUserMessageArgs
,
CreateChatCompletionRequest
,
CreateChatCompletionRequestArgs
,
};
...
...
lib/
async-openai
/tests/whisper.rs
→
lib/
protocols
/tests/whisper.rs
View file @
b6a3b0c6
...
...
@@ -8,8 +8,8 @@
// Modifications Copyright (c) 2025-2026 NVIDIA CORPORATION & AFFILIATES.
// Licensed under Apache 2.0
use
dynamo_
async_openai
::
types
::
CreateTranslationRequestArgs
;
use
dynamo_
async_openai
::{
Client
,
types
::
CreateTranscriptionRequestArgs
};
use
dynamo_
protocols
::
types
::
CreateTranslationRequestArgs
;
use
dynamo_
protocols
::{
Client
,
types
::
CreateTranscriptionRequestArgs
};
use
tokio_test
::
assert_err
;
#[tokio::test]
...
...
Prev
1
…
4
5
6
7
8
Next
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment