-
Notifications
You must be signed in to change notification settings - Fork 461
refactor: replace genAI model sdk by okHttp #206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Aias00
wants to merge
105
commits into
agentscope-ai:main
Choose a base branch
from
Aias00:feat/replace_genai_sdk
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 30 commits
Commits
Show all changes
105 commits
Select commit
Hold shift + click to select a range
92fd3fd
feat: Introduce dedicated DTOs for Gemini API request and response st…
Aias00 b0b02b4
Update agentscope-extensions/agentscope-extensions-mem0/pom.xml
Aias00 16896c7
Update agentscope-core/src/main/java/io/agentscope/core/formatter/gem…
Aias00 364901f
Update agentscope-core/src/main/java/io/agentscope/core/model/GeminiC…
Aias00 d2bacf1
Update agentscope-core/src/main/java/io/agentscope/core/model/GeminiC…
Aias00 27ebc28
feat: Enhance Gemini integration by converting ThinkingBlock messages…
Aias00 ab9db03
feat: Add Gemini 3 compatibility adjustments, move API key to header,…
Aias00 5f0f0ab
Merge branch 'main' into feat/replace_genai_sdk
Aias00 8444d7b
feat: Introduce accessToken authentication and configurable base URL …
Aias00 19d0c78
feat: Add GeminiChatExample demonstrating basic Agent setup with Goog…
Aias00 4ec28cb
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 21dca17
refactor: Remove unnecessary whitespace in GeminiChatExample.java
Aias00 75375bb
Merge branch 'main' into feat/replace_genai_sdk
Aias00 dea16ab
feat: Add thoughtSignature support and Gemini 3 provider integration
Aias00 f323fd6
feat: Enhance Gemini integration with schema cleaning and support for…
Aias00 764bc52
feat: Improve code readability with formatting adjustments and enhanc…
Aias00 83094c8
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 3148701
feat: Update conversation history prompt and comment out unused Gemin…
Aias00 3f89137
feat(gemini): add support for custom system prompts in ReActAgent cre…
Aias00 c2deeb6
feat(gemini): enhance agent initialization with personalized prompts …
Aias00 efa68e7
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 da39722
feat(gemini): simplify response formatting by removing unnecessary pr…
Aias00 bc49486
Merge branch 'main' into feat/replace_genai_sdk
Aias00 a98f20f
feat(gemini): enhance signature handling and metadata integration in …
Aias00 da7880e
Merge branch 'main' into feat/replace_genai_sdk
Aias00 4367218
Merge branch 'main' into feat/replace_genai_sdk
Aias00 6bd25cc
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 65d8716
feat(gemini): add prompt feedback handling and system instruction sup…
Aias00 cbea7ab
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 809b2b6
refactor(gemini): remove unused ObjectMapper import and simplify logg…
Aias00 dd2a9a6
chore(gemini): update copyright year to 2026 and fix license URL
Aias00 79263fa
Merge branch 'main' into feat/replace_genai_sdk
Aias00 ebdf77b
chore(gemini): update copyright year to 2026 and fix license URL
Aias00 4d6a4e3
feat(gemini): preserve tool call roles in message formatting
Aias00 fe54012
feat(gemini): preserve tool call roles in message formatting
Aias00 191b3af
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 082b355
feat(gemini): refactor function call creation and update test assertions
Aias00 d5d47ed
feat(gemini): update Gemini SDK integration and enhance documentation
Aias00 cebe6e9
feat(gemini): rename GeminiNativeProvider to GeminiProvider and refac…
Aias00 b71070f
refactor(gemini): clean up whitespace in GeminiProvider.java
Aias00 fd7866e
Merge branch 'main' into feat/replace_genai_sdk
Aias00 af7d01a
test(genai): update formatter
Aias00 3122d67
test(genai): update converter
Aias00 b9cfd45
test(genai): update converter
Aias00 878c0f9
refactor(genai): simplify message formatting logic in GeminiChatForma…
Aias00 c4abb2f
Merge branch 'main' into feat/replace_genai_sdk
Aias00 37785d3
Merge branch 'feat/replace_genai_sdk' of https://github.com/Aias00/ag…
Aias00 d962a60
refactor(genai): enhance message formatting and improve response parsing
Aias00 d7e639b
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 5459c70
refactor(genai): streamline message formatting and enhance null handling
Aias00 e283287
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 d164b77
test(GeminiMessageConverter): add Base64 import for encoding support
Aias00 4448f47
feat(gemini): implement multi-agent message converter for history mer…
Aias00 b4aef30
refactor: simplify imports and enhance code readability across multip…
Aias00 105e142
refactor: replace fully qualified class names with imports for improv…
Aias00 0702a88
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 1147de4
refactor(tests): simplify imports and enhance readability in test files
Aias00 66d2531
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 17de421
refactor(ShellCommandTool): remove unused method and clean up code
Aias00 8b61ee0
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 fad6c3f
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 77b41bc
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 0283275
Merge branch 'main' into feat/replace_genai_sdk
AlbumenJ bdceb0c
Merge branch 'feat/replace_genai_sdk' of https://github.com/Aias00/ag…
Aias00 7d0531d
refactor(Gemini API): improve serialization handling and enhance inte…
Aias00 187c3c6
refactor(Gemini API): improve serialization handling and enhance inte…
Aias00 97b1269
fix(Gemini API): improve structured output handling and tool call com…
Aias00 a4ca4c2
feat(Gemini API): align retry logic, finish reason handling, and stru…
Aias00 e2c3cb1
feat(Gemini API): enhance structured output handling and ensure conve…
Aias00 79eb366
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 4ac1422
feat(Gemini API): enhance handling of thinking content and tool execu…
Aias00 87a7854
feat(Gemini API): adjust response schema handling for compatibility w…
Aias00 ab839af
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 1557c80
feat(Gemini API): adjust response schema handling for compatibility w…
Aias00 69bf804
feat(AgentBase): improve running state management in reactive chains
Aias00 d2e9476
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 a2aef24
feat(Gemini API): implement Gemini API error handling and response va…
Aias00 b8a006b
feat(tests): add unit tests for Gemini API components
Aias00 9a775b9
feat(tests): add unit tests for Gemini formatter and response parser
Aias00 36cbb8b
style(tests): format code for improved readability in test files
Aias00 ac585d9
test(Gemini API): add unit tests for handling null and empty inputs i…
Aias00 c0b8a0e
test(Gemini API): update tests for response parsing and structured ou…
Aias00 2f7b62f
test(AnthropicResponseParser): fix assertion for response ID in parsi…
Aias00 7ac5b95
fix(A2aAgentTest): improve timeout handling and error reporting in as…
Aias00 29980f9
Merge branch 'main' into feat/replace_genai_sdk
Aias00 8e109b1
Merge branch 'main' into feat/replace_genai_sdk
Aias00 9975da6
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 5a91c94
feat(GeminiResponseParser): use UUID for fallback ID generation and i…
Aias00 0abac60
refactor(GeminiToolsHelper): remove unneeded response schema unwrappi…
Aias00 5765896
Merge branch 'main' into feat/replace_genai_sdk
Aias00 d9fd55b
Merge branch 'main' into feat/replace_genai_sdk
Aias00 4490394
Merge branch 'main' into feat/replace_genai_sdk
Aias00 d5bcccf
Merge branch 'main' into feat/replace_genai_sdk
Aias00 62809fb
Merge remote-tracking branch 'origin/main' into feat/replace_genai_sdk
Aias00 bac9584
refactor(Gemini): improve error handling and response processing in A…
Aias00 e40c902
refactor(StructuredOutputCapableAgent): enhance resource management a…
Aias00 968b5ed
Merge branch 'main' into feat/replace_genai_sdk
Aias00 ffd1fe6
Merge branch 'main' into feat/replace_genai_sdk
Aias00 330f1c4
Revert "refactor(StructuredOutputCapableAgent): enhance resource mana…
Aias00 010658d
Revert "refactor(Gemini): improve error handling and response process…
Aias00 50d9493
Merge branch 'feat/replace_genai_sdk' of https://github.com/Aias00/ag…
Aias00 fe48f08
feat(Gemini): enhance context preservation with thought signatures an…
Aias00 e3228b4
Merge branch 'refs/heads/main' into feat/replace_genai_sdk
Aias00 f9ae0b6
Merge branch 'main' into feat/replace_genai_sdk
Aias00 77ab451
Merge branch 'main' into feat/replace_genai_sdk
Aias00 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.