Skip to content

feat(deepinfra): add DeepInfra API usage provider (0.45 port)#221

Closed
Finesssee wants to merge 1 commit into
mainfrom
port/045-deepinfra
Closed

feat(deepinfra): add DeepInfra API usage provider (0.45 port)#221
Finesssee wants to merge 1 commit into
mainfrom
port/045-deepinfra

Conversation

@Finesssee

@Finesssee Finesssee commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

Test plan

  • cargo test --manifest-path rust/Cargo.toml deepinfra (6 passed)
  • Merge after CI green

No packaging/version bump (porting wave only).


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

Port DeepInfra billing provider from steipete/CodexBar:
- GET /payment/checklist?compute_owed=true for prepaid balance, recent spend, limit, suspension
- GET /payment/usage?from=current for monthly spend (cents -> USD)
- API key via Preferences, keyring, DEEPINFRA_API_KEY / DEEPINFRA_TOKEN
- Token accounts for multiple labeled keys
- Fixture unit tests for balance/owed/suspended parse paths
@github-actions

Copy link
Copy Markdown

This repository allows each user to open at most 4 pull requests per 7 days.

Closing this automatically.

@github-actions github-actions Bot closed this Jul 21, 2026
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