mirror of
https://github.com/hanzoai/dev.git
synced 2026-10-25 03:32:32 +00:00
fix(core/tools): align image_view test lists
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user