Revert to OAI-compatible args (#20213)
* Revert to OAI-compatible args * Apply workaround::func_args_not_string
This commit is contained in:
committed by
GitHub
parent
ff52ee964d
commit
b283f6d5b3
+1
-3
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user