Skip to content

feat(provider): support new provider api in clawx#938

Merged
hazeone merged 2 commits intomainfrom
feat/support_new_provider_api
Apr 29, 2026
Merged

feat(provider): support new provider api in clawx#938
hazeone merged 2 commits intomainfrom
feat/support_new_provider_api

Conversation

@hazeone
Copy link
Copy Markdown
Contributor

@hazeone hazeone commented Apr 29, 2026

Summary

Eliminate deprecated APIs to address gateway API warning issues.

Related Issue(s)

Type of Change

  • Bug fix
  • New feature
  • Documentation
  • Refactor
  • Other

Validation

Checklist

  • I ran relevant checks/tests locally.
  • I updated docs if behavior or interfaces changed.
  • I verified there are no unrelated changes in this PR.

hazeone added 2 commits April 29, 2026 12:03
…I improvements

- Added new endpoints for account key information, validation, and OAuth handling under `/api/provider-accounts`.
- Updated existing provider service methods to use internal variants that avoid deprecation warnings.
- Enhanced compatibility with legacy routes to ensure smooth transitions for older clients.
- Improved error handling and response structures for better API consistency.
…lity

- Updated provider account validation to handle legacy `providerId` for backward compatibility.
- Improved error handling in `fetchProviderSnapshot` to gracefully manage missing routes.
- Added tests to ensure fallback mechanisms work correctly for both 404 errors and missing route bodies.
- Cleaned up provider key management to reflect explicit intent when clearing keys.
@chatgpt-codex-connector
Copy link
Copy Markdown
Contributor

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@hazeone hazeone merged commit 1fc1e20 into main Apr 29, 2026
5 checks passed
@hazeone hazeone deleted the feat/support_new_provider_api branch April 29, 2026 11:42
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.

1 participant