Skip to content

fix(provider): sync base URL edits to stored credentials#33

Merged
HikoQiu merged 1 commit into
OpenCowAI:mainfrom
leezee7:fix-provider-base-url-sync
Apr 20, 2026
Merged

fix(provider): sync base URL edits to stored credentials#33
HikoQiu merged 1 commit into
OpenCowAI:mainfrom
leezee7:fix-provider-base-url-sync

Conversation

@leezee7
Copy link
Copy Markdown
Contributor

@leezee7 leezee7 commented Apr 20, 2026

Summary

  • Sync provider credential config when Base URL changes without re-entering the API key
  • Preserve the existing API key while updating runtime Base URL
  • Add a regression test for OpenAI-compatible Base URL edits

Verification

  • pnpm exec vitest run tests/unit/provider/providerService.test.ts tests/unit/provider/openai.test.ts
  • pnpm exec tsc --noEmit -p tsconfig.node.json

@HikoQiu HikoQiu merged commit d96ce01 into OpenCowAI:main Apr 20, 2026
6 checks passed
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.

2 participants