Skip to content

feat(examples): add OpenAI, Anthropic, and Gemini model extension dependencies to documentation examples#1951

Open
zouyx wants to merge 1 commit into
agentscope-ai:mainfrom
zouyx:addMoreExtensions
Open

feat(examples): add OpenAI, Anthropic, and Gemini model extension dependencies to documentation examples#1951
zouyx wants to merge 1 commit into
agentscope-ai:mainfrom
zouyx:addMoreExtensions

Conversation

@zouyx

@zouyx zouyx commented Jun 28, 2026

Copy link
Copy Markdown
Contributor

AgentScope-Java Version

2.0.0-SNAPSHOT

Description

Add three model extension dependencies to agentscope-examples/documentation/pom.xml:

  • agentscope-extensions-model-openai
  • agentscope-extensions-model-anthropic
  • agentscope-extensions-model-gemini

Background: OpenAIChatModel (#1890), AnthropicChatModel / GeminiChatModel (#1916) have been migrated from agentscope-core to standalone extensions modules, but the documentation example module was not updated with the corresponding extension dependencies, making these models unavailable in the examples.

Change: Only 3 <dependency> declarations were added, no other modifications.

Testing: Run mvn -pl agentscope-examples/documentation dependency:resolve to verify dependencies are resolvable.

Checklist

  • Code has been formatted with mvn spotless:apply
  • All tests are passing (mvn test)
  • Javadoc comments are complete and follow project conventions
  • Related documentation has been updated (e.g. links, examples, etc.)
  • Code is ready for review

@zouyx zouyx requested review from a team and Copilot June 28, 2026 06:03

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Updates the documentation examples module to include the newly modularized model-provider extensions so OpenAI/Anthropic/Gemini chat models are available on the example classpath after their migration out of agentscope-core.

Changes:

  • Added agentscope-extensions-model-openai dependency to the documentation examples POM.
  • Added agentscope-extensions-model-anthropic dependency to the documentation examples POM.
  • Added agentscope-extensions-model-gemini dependency to the documentation examples POM.

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