Revert to OAI-compatible args (#20213)
* Revert to OAI-compatible args * Apply workaround::func_args_not_string
This commit is contained in:
parent
ff52ee964d
commit
b283f6d5b3
2 changed files with 4 additions and 4 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue