Revert to OAI-compatible args (#20213)

* Revert to OAI-compatible args

* Apply workaround::func_args_not_string
This commit is contained in:
Piotr Wilkin (ilintar)
2026-03-08 11:33:03 +01:00
committed by GitHub
parent ff52ee964d
commit b283f6d5b3
2 changed files with 4 additions and 4 deletions
+1 -3
View File
@@ -1434,9 +1434,7 @@ static void test_msgs_oaicompat_json_conversion() {
" \"type\": \"function\",\n"
" \"function\": {\n"
" \"name\": \"python\",\n"
" \"arguments\": {\n"
" \"code\": \"print('hey')\"\n"
" }\n"
" \"arguments\": \"{\\\"code\\\":\\\"print('hey')\\\"}\"\n"
" }\n"
" }\n"
" ]\n"