googleapis / googleapis/python-genai
Handle more types (e.g. file / media) for automatic function calling
Open
priority: p3
type: feature request
- Dominant language
- Python
- Stars
- 4k
- Forks
- 1k
- Avg merge
- 2d 11h
- Merged PRs (30d)
- 40
Description
**Is your feature request related to a problem? Please describe.**
Automatic function calling does not seem to allow for a function that returns a file / media. the parser will throw an error with `Failed to parse the parameter return_value`.
**Describe the solution you'd like**
It would seem reasonable to me that the parser handles `genai.types` as return_values. for instance `genai.types.FunctionResponse` or `genai.types.FunctionResponseBlob`
**Describe alternatives you've considered**
Don't know of any alternatives
Contributor guide
Assessment
This issue has not been assessed yet.