function_call not handled in BaseGenerateContentResponse.text #620
Labels
component:python sdk
Issue/PR related to Python SDK
status:triaged
Issue/PR triaged to the corresponding sub-team
Description of the bug:
calling session.send_message returns a
GenerateContentResponse
object, and when this response includes a function call,response.text
raises the following error:Actual vs expected behavior:
response.text should return the text part of the response rather than throwing error. Related but separate of an issue, there should ideally be a convenience accessor for
response.function_call
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: