Skip to content

Conversation

@qbc2016
Copy link
Member

@qbc2016 qbc2016 commented Dec 18, 2025

AgentScope Version

1.0.10dev

Description

Gemini API does not support $def, $ref, thus we should flatten the JSON schema, see #884.

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has been formatted with pre-commit run --all-files command
  • All tests are passing
  • Docstrings are in Google style
  • Related documentation has been updated (e.g. links, examples, etc.)
  • Code is ready for review

Copy link
Member

@DavdGao DavdGao left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@qbc2016 Please add corresponding unittests to ensure the GeminiChatModel works normally

@DavdGao DavdGao merged commit ef91d8d into agentscope-ai:main Jan 4, 2026
11 checks passed
AlwaysBluer added a commit to AlwaysBluer/agentscope that referenced this pull request Jan 4, 2026
* main:
  chore(version): update version to 1.0.11 (agentscope-ai#1074)
  fix(anthropic): fix the bug that anthropic response may have text field even for the tool_use block. (agentscope-ai#1070)
  fix(Gemini): fix the bug that Gemini LLMs doesn't support nested JSON schema in its tools API (agentscope-ai#1050)
  fix(mcp): support to raise the exception on MCP disconnection (agentscope-ai#1024)
  feat(a2a): support A2A protocol for inter-agent communication (agentscope-ai#1027)
hiyuchang pushed a commit to hiyuchang/agentscope that referenced this pull request Jan 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants