Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: cargo test working #207

Merged
merged 1 commit into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion async-openai/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
//! // Create request using builder pattern
//! // Every request struct has companion builder struct with same name + Args suffix
//! let request = CreateCompletionRequestArgs::default()
//! .model("text-davinci-003")
//! .model("gpt-3.5-turbo-instruct")
//! .prompt("Tell me the recipe of alfredo pasta")
//! .max_tokens(40_u16)
//! .build()
Expand Down
2 changes: 1 addition & 1 deletion async-openai/src/types/impls.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ impl Default for InputSource {
}

/// for `impl_input!(Struct)` where
/// ```
/// ```text
/// Struct {
/// source: InputSource
/// }
Expand Down
2 changes: 1 addition & 1 deletion async-openai/tests/boxed_future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ async fn boxed_future_test() {
let client = Client::new();

let request = CreateCompletionRequestArgs::default()
.model("text-babbage-001")
.model("gpt-3.5-turbo-instruct")
.n(1)
.prompt("does 2 and 2 add to four? (yes/no):\n")
.stream(true)
Expand Down