mirror of
https://github.com/mii443/openai-api-rs.git
synced 2025-12-07 13:08:22 +00:00
Add models api
This commit is contained in:
@@ -24,7 +24,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
|
||||
|
||||
let result = client.chat_completion(req).await?;
|
||||
println!("Content: {:?}", result.choices[0].message.content);
|
||||
println!("Response Headers: {:?}", client.headers);
|
||||
println!("Response Headers: {:?}", client.response_headers);
|
||||
|
||||
Ok(())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user