Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: simstudioai/sim
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: simstudioai/sim
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: fix/copilot-credentials-validation
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 1 file changed
  • 2 contributors

Commits on Jan 25, 2026

  1. fix(copilot): pre-validate credentials and apiKeys before applying edits

    - Add preValidateCredentialInputs to validate inputs before operations are applied
    - Block invalid credential IDs (non-existent or not owned by user) from being set
    - Filter out apiKey inputs for hosted models when isHosted is true
    - Skip oauth-input in post-validation to preserve existing collaborator credentials
    - Return validation errors for LLM feedback on blocked inputs
    
    Co-Authored-By: Claude Opus 4.5 <[email protected]>
    Sg312 and claude committed Jan 25, 2026
    Configuration menu
    Copy the full SHA
    5f0ae23 View commit details
    Browse the repository at this point in the history
Loading