Skip to content

feat(providers): add AICraft OpenAI-compatible provider template - #6171

Open
BX166 wants to merge 2 commits into
Hmbown:mainfrom
BX166:add-aicraft-provider
Open

BX166 wants to merge 2 commits into
Hmbown:mainfrom
BX166:add-aicraft-provider

Conversation

@BX166

@BX166 BX166 commented Sep 14, 2026

Copy link
Copy Markdown

Summary

Adds AICraft (aicraftapi.com) as an OpenAI-compatible provider setup template, following the same descriptor-row pattern as SenseNova, Baseten, Groq, Cerebras, and Command Code.

  • AICRAFT_TEMPLATE_ID = "aicraft"
  • AICRAFT_BASE_URL = "https://aicraftapi.com/v1"
  • AICRAFT_DEFAULT_MODEL = "claude-4.6-sonnet"
  • AICRAFT_API_KEY_ENV = "AICRAFT_API_KEY"

Changes

  • Four new consts plus one ProviderSetupApply::Compatible descriptor row, inserted before the unpublished agnes entry.
  • Updated settings_value_names_fillable_then_unpublished to include aicraft in the fillable list.
  • Added an aicraft entry to hosted_openai_compat_hosts_are_templates_not_enum_variants.
  • Updated the module header comment.

Test plan

  • The two touched unit tests (settings_value_names_fillable_then_unpublished, hosted_openai_compat_hosts_are_templates_not_enum_variants) are expected to pass under the existing crates/config test suite.

Devin Review

@BX166
BX166 requested a review from Hmbown as a code owner September 14, 2026 11:46
@github-actions

Copy link
Copy Markdown
Contributor

Thanks @BX166 for taking the time to contribute.

This repository is observing a maintainer-managed PR intake gate in dry-run mode, so this pull request is staying open. This note helps maintainers prepare the allowlist before any enforcement is considered.

Please read CONTRIBUTING.md for the expected contribution shape. A maintainer can grant recurring PR access by commenting /lgtm on a pull request.

devin-ai-integration[bot]

This comment was marked as resolved.

@BX166

BX166 commented Sep 14, 2026

Copy link
Copy Markdown
Author

Addressed the review: AICraft is now documented in docs/PROVIDERS.md alongside the other compatible templates. The new row sits between Command Code and Agnes:

| AICraft | compatible | ```https://aicraftapi.com/v1``` | ```claude-4.6-sonnet``` | ```AICRAFT_API_KEY``` |

This satisfies every_compatible_template_is_documented_for_operators (display name, base URL, and API key env are all present).

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