Skip to content

Commit

Permalink
cargo test working (#207)
Browse files Browse the repository at this point in the history
  • Loading branch information
64bit authored Mar 31, 2024
1 parent 6178070 commit 12436b3
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 12436b3

Please sign in to comment.