useopenai_api_rs::v1::chat_completion::ToolCall;/// Fixes the tool call schema.
/// Not doing this will cause "Internal Server Error" for some models.
pubfnfix_tool_call(muttool_call: ToolCall)-> ToolCall{if tool_call.function.arguments.is_none(){
tool_call.function.arguments =Some("{}".into());}
tool_call
}