Unverified Commit cbc0e4d7 authored by Stefan He's avatar Stefan He Committed by GitHub
Browse files

Fix lint for router (#9636)

parent 4cd08dc5
......@@ -59,7 +59,7 @@ async fn test_mistral_nested_json() {
async fn test_mistral_with_text_after() {
let parser = MistralParser::new();
let input = r#"[TOOL_CALLS] [{"name": "test", "arguments": {}}]
And here's some text after the tool call that should be ignored."#;
let result = parser.parse_complete(input).await.unwrap();
......
......@@ -116,9 +116,9 @@ async fn test_empty_and_whitespace_variations() {
let cases = vec![
r#" {"name":"compact","arguments":{}} "#,
r#"
{"name": "spaced", "arguments": {}}
"#,
r#" {"name": "tabbed", "arguments": {}} "#, // tabs
];
......
......@@ -159,7 +159,7 @@ async fn test_pythonic_real_world_llama4() {
// Actual output from Llama 4 model
let input = r#"I'll help you with multiple tasks. Let me search for information and perform calculations.
[web_search(query="latest Rust features", max_results=3, safe_search=True),
[web_search(query="latest Rust features", max_results=3, safe_search=True),
calculate(expression="42 * 3.14159", precision=2),
get_weather(city="San Francisco", units="fahrenheit", include_forecast=False)]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment