chore: fix typos (#79)

This commit is contained in:
Bob Liu 2025-04-02 01:15:01 +08:00 • committed by GitHub
commit 6a648b8827
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -44,7 +44,7 @@ impl Demo {
fn test_complex_schema() {
let attr = Demo::chat_tool_attr();
let input_schema = attr.input_schema;
let enum_numer = input_schema
let enum_number = input_schema
.get("definitions")
.unwrap()
.as_object()
@ -58,6 +58,6 @@ fn test_complex_schema() {
.as_array()
.unwrap()
.len();
assert_eq!(enum_numer, 4);
assert_eq!(enum_number, 4);
println!("{}", serde_json::to_string_pretty(&input_schema).unwrap());
}