Add models api

This commit is contained in:
Dongri Jin
2025-05-17 09:53:33 +09:00
parent 14b13d6799
commit 66b12711ab
8 changed files with 78 additions and 16 deletions

View File

@ -23,7 +23,7 @@ async fn main() -> Result<(), Box<dyn std::error::Error>> {
println!("Content: {:?}", result.choices[0].message.content);
// print response headers
for (key, value) in client.headers.unwrap().iter() {
for (key, value) in client.response_headers.unwrap().iter() {
println!("{}: {:?}", key, value);
}