"function_call" parameter needs option for "any_function"

The “function_call” request option is used to control if the model responds with a function or content result.

According to the docs, the current parameters support:

  • Always “content” (none)
  • Model chooses (auto)
  • Specific Function: ({"name": "function_name"})

However, it’s unclear how you would ask the model to respond with ANY available function call. (EG: you must choose a function, but I’m not specifying which one).

9 Likes