Skip to content

fix: advance to step 2 when manually configuring models in edit endpoint modal#728

Merged
fergusfinn merged 2 commits intomainfrom
fix/edit-endpoint-manual-mode-step-advance
Feb 19, 2026
Merged

fix: advance to step 2 when manually configuring models in edit endpoint modal#728
fergusfinn merged 2 commits intomainfrom
fix/edit-endpoint-manual-mode-step-advance

Conversation

@fergusfinn
Copy link
Contributor

Summary

  • Fixes handleConfigureManually in EditEndpointModal to call setCurrentStep(2), matching the behavior in CreateEndpointModal
  • Without this, clicking "Next" with auto-discover disabled left users stuck on step 1 with no way to edit models on an existing endpoint
  • One-line fix — the rest of the manual mode flow (model input, "Configure Models" button, alias configuration) already works correctly once step 2 is reached

Root cause

EditEndpointModal.handleConfigureManually (line 287) was missing setCurrentStep(2). The equivalent function in CreateEndpointModal (line 445) includes this call. This meant that when auto-discover was disabled (necessary for non-OpenAI backends like TensorZero that don't serve /v1/models), the "Next" button toggled manual mode but never advanced the wizard step.

Test plan

  • Open an existing endpoint for editing
  • Uncheck "Auto-discover models"
  • Click "Next" — should now advance to step 2 with the manual model input textarea
  • Enter model names, click "Configure Models" — model selection/alias UI should appear
  • Complete the edit and save — endpoint should update with new model configuration
  • Verify creating a new endpoint still works as before (no regression)

Fixes #550

🤖 Generated with Claude Code

…int modal

handleConfigureManually in EditEndpointModal was missing the
setCurrentStep(2) call that CreateEndpointModal has, so clicking
"Next" with auto-discover disabled left users stuck on step 1 with
no way to edit models on an existing endpoint.

Fixes #550

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Copilot AI review requested due to automatic review settings February 18, 2026 13:12
@railway-app
Copy link

railway-app bot commented Feb 18, 2026

🚅 Deployed to the control-layer-pr-728 environment in industrious-light

Service Status Web Updated (UTC)
control-layer ✅ Success (View Logs) Web Feb 19, 2026 at 7:59 am

@railway-app railway-app bot temporarily deployed to industrious-light / control-layer-pr-728 February 18, 2026 13:12 Destroyed
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes a critical bug in the endpoint editing workflow where users were unable to manually configure models for existing endpoints. When users disabled auto-discovery (necessary for backends like TensorZero that don't support /v1/models), clicking "Next" would enable manual mode but fail to advance the wizard from step 1 to step 2, leaving users stuck with no way to edit models.

Changes:

  • Added setCurrentStep(2) call to handleConfigureManually in EditEndpointModal to match the behavior in CreateEndpointModal

@fergusfinn fergusfinn requested a review from JoshC8C7 February 18, 2026 13:47
Copy link
Contributor

@JoshC8C7 JoshC8C7 left a comment

Choose a reason for hiding this comment

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

if its been tested manually then sounds good

@fergusfinn
Copy link
Contributor Author

wdym tested manually haven't you heard of AI

Previously the field was gated by `requires_api_key`, so endpoints
created without a key could never have one added through the edit modal.
@railway-app railway-app bot temporarily deployed to industrious-light / control-layer-pr-728 February 19, 2026 07:50 Destroyed
@fergusfinn fergusfinn merged commit fdcf360 into main Feb 19, 2026
10 checks passed
fergusfinn pushed a commit that referenced this pull request Feb 19, 2026
🤖 I have created a release *beep* *boop*
---


##
[8.1.0](v8.0.1...v8.1.0)
(2026-02-19)


### Features

* make demo mode data more realistic
([#731](#731))
([17aa9bf](17aa9bf))


### Bug Fixes

* advance to step 2 when manually configuring models in edit endpoint
modal ([#728](#728))
([fdcf360](fdcf360))
* omit Secure attribute from cookies when cookie_secure is false
([#730](#730))
([e6f936e](e6f936e))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
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.

Unable to Edit Models in Existing Endpoint

2 participants

Comments