fix(core/tools): align image_view test lists

This commit is contained in:
James Peter
2026-01-01 20:47:01 +10:00
parent 76e0d596e8
commit fcb3afb055
+3 -3
View File
@@ -1151,7 +1151,6 @@ mod tests {
&tools, &tools,
&[ &[
"shell", "shell",
"image_view",
"browser", "browser",
"agent", "agent",
"wait", "wait",
@@ -1164,7 +1163,7 @@ mod tests {
); );
assert_eq!( assert_eq!(
tools[9], tools[8],
OpenAiTool::Function(ResponsesApiTool { OpenAiTool::Function(ResponsesApiTool {
name: "test_server/do_something_cool".to_string(), name: "test_server/do_something_cool".to_string(),
parameters: JsonSchema::Object { parameters: JsonSchema::Object {
@@ -1274,6 +1273,7 @@ mod tests {
&tools, &tools,
&[ &[
"shell", "shell",
"image_view",
"browser", "browser",
"agent", "agent",
"wait", "wait",
@@ -1286,7 +1286,7 @@ mod tests {
); );
assert_eq!( assert_eq!(
tools[8], tools[9],
OpenAiTool::Function(ResponsesApiTool { OpenAiTool::Function(ResponsesApiTool {
name: "test_server/do_something_cool".to_string(), name: "test_server/do_something_cool".to_string(),
parameters: JsonSchema::Object { parameters: JsonSchema::Object {