You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
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:
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
ProviderSetupApply::Compatibledescriptor row, inserted before the unpublishedagnesentry.settings_value_names_fillable_then_unpublishedto includeaicraftin the fillable list.aicraftentry tohosted_openai_compat_hosts_are_templates_not_enum_variants.Test plan
settings_value_names_fillable_then_unpublished,hosted_openai_compat_hosts_are_templates_not_enum_variants) are expected to pass under the existingcrates/configtest suite.