feat(charts): Add V1 conversation API settings to openhands chart#252
Draft
jpshackelford wants to merge 1 commit into
Draft
feat(charts): Add V1 conversation API settings to openhands chart#252jpshackelford wants to merge 1 commit into
jpshackelford wants to merge 1 commit into
Conversation
Add configurable settings for V1 conversation API feature flags: - enableV1Routes: Server-level switch for V1 API routes (default: true) - defaultV1Enabled: Default v1_enabled setting for new users (default: 0/false) - enableV1GithubResolver: V1 support for GitHub integration (default: false) - enableV1SlackResolver: V1 support for Slack integration (default: false) These settings prepare the charts for upcoming OpenHands releases (1.0.0+) that include V1 conversation support. By default, V1 routes are available but all conversations start as V0 conversations. Bumps chart version to 0.1.36. Co-authored-by: openhands <[email protected]>
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.
Summary
This PR adds configurable settings for V1 conversation API feature flags to the OpenHands Helm chart. These settings prepare the charts for upcoming OpenHands releases (1.0.0+) that include V1 conversation support.
Changes
New Configuration Options (
values.yaml)Added a new
v1Conversationssection with the following settings:enableV1RoutesENABLE_V1"true"/api/v1/*) are mounteddefaultV1EnabledV1_ENABLED"0"enableV1GithubResolverENABLE_V1_GITHUB_RESOLVER"false"enableV1SlackResolverENABLE_V1_SLACK_RESOLVER"false"Default Behavior
With these defaults:
ENABLE_V1=1) - clients can use V1 endpoints if they chooseV1_ENABLED=0) - new users default to legacy V0 conversationsThis provides a safe upgrade path where V1 is available but not enabled by default.
Code References (from OpenHands repo)
These settings map to the following code in OpenHands:
ENABLE_V1-openhands/server/config/server_config.py:41V1_ENABLED-openhands/storage/data_models/settings.py:54ENABLE_V1_GITHUB_RESOLVER/ENABLE_V1_SLACK_RESOLVER-enterprise/integrations/utils.py:80-85Chart Version
Bumps chart version from
0.1.35to0.1.36.Testing
To enable V1 conversations for all new users, override in your values:
To enable V1 for GitHub resolver:
@jpshackelford can click here to continue refining the PR