Omit args and params in tool function def and calls (#13516)

This commit is contained in:
Grace
2025-12-17 18:42:21 -08:00
committed by GitHub
parent 49a9c9ba6a
commit 0fadeffaee
2 changed files with 3 additions and 3 deletions

View File

@@ -363,7 +363,7 @@ func TestChatDebugRenderOnly(t *testing.T) {
DebugRenderOnly: true,
},
expectDebug: true,
expectTemplate: "[{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get weather information\",\"parameters\":{\"type\":\"\",\"properties\":null}}}]user: Get the weather\n",
expectTemplate: "[{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get weather information\",\"parameters\":{\"type\":\"\"}}}]user: Get the weather\n",
},
}