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

This reverts commit 0fadeffaee.
This commit is contained in:
Grace
2025-12-17 19:06:56 -08:00
committed by GitHub
parent 0fadeffaee
commit 522c11a763
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\":\"\"}}}]user: Get the weather\n",
expectTemplate: "[{\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"description\":\"Get weather information\",\"parameters\":{\"type\":\"\",\"properties\":null}}}]user: Get the weather\n",
},
}