execute_function_calls!() { /* proc-macro */ }Expand description
- Provide all functions to be called
execute_function_calls!(session, f1, f2...) ReturnsVec<Option<Result<serde_json::Value, String>>>- Returned vec length always equals the number of functions passed
Noneif f_i was not called by Gemini if function don’t return type Result, it always returnResult::Ok(value)Sessionstruct is automatically updated with FunctionResponse only forOkresult