nehan
|
80a00acc2c
|
feat(api): classify openai-compatible provider failures (#708)
* feat(api): classify openai-compatible provider failures
* Update src/services/api/providerConfig.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/services/api/errors.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* feat(api): harden openai-compatible diagnostics and env fallback
* Update src/services/api/openaiShim.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/services/api/openaiShim.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/services/api/errors.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/services/api/errors.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* fix openaiShim duplicate requests and diagnostics
* remove unused url from http failure classifier
* dedupe env diagnostic warnings
* Remove hardcoded URLs from OpenAI error tests
Removed hardcoded URLs from network failure classification tests.
* Update providerConfig.envDiagnostics.test.ts
* fix(openai-shim): return successful responses and restore localhost classifier tests
* Update src/services/api/openaiShim.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/services/api/openaiShim.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
* Update src/services/api/openaiShim.ts
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
---------
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
|
2026-04-17 18:01:40 +08:00 |
|