Repository navigation
feat(jev): add configurable endpoint path to JevClient (#4211) - #4225
Merged
Merged
Conversation
…#4211) JevClient hardcodes /v1/systemone as the request path. Add Builder.endpointPath(String) so compatible gateways and inner providers can use a custom path, keeping /v1/systemone as the default. Wire the equivalent agentscope.jev.endpoint-path property through the Spring Boot starter, and update the EN/ZH client guides. Co-Authored-By: Claude Code <[email protected]>
Preview approval requiredThis pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit |
jujn
approved these changes
Nov 17, 2026
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
AgentScope-Java Version
2.1.0-SNAPSHOT
Description
Closes #4211.
JevClienthardcodes/v1/systemoneas the request path, which blocks deployments against compatible gateways and inner providers that expose a different path (e.g./v1/decisions).Changes:
JevClient.BuildergainsendpointPath(String), mirroringOpenAIChatModel.Builder#endpointPath. When set, the path replaces/v1/systemoneand is appended to the base URL (a missing leading slash is normalized; a base URL that already ends with the path is not duplicated). When unset, behavior is unchanged.agentscope.jev.endpoint-pathproperty wired throughJevAutoConfiguration.JevClientTestcases (custom path, no duplication, slash normalization, blank rejection) and starter coverage for both custom and default paths.How to test:
mvn -T1C -pl agentscope-extensions/agentscope-extensions-judge/agentscope-extensions-jev,agentscope-extensions/agentscope-spring-boot-starters/agentscope-jev-spring-boot-starter -am testBoth modules pass (131 + 6 tests).
JevBrowserDriverTestwas not run locally as it requires a real browser environment and is unrelated to this change.Checklist
Please check the following items before code is ready to be reviewed.
mvn spotless:apply(verified withmvn spotless:check)mvn test) for the affected modules🤖 Generated with Claude Code