Skip to content

fix: add supported Kimi K3 Bedrock profiles - #7795

Merged
rekram1-node merged 1 commit into
devfrom
fix/kimi-k3-bedrock-aiden-20260922
Sep 23, 2026
Merged

rekram1-node merged 1 commit into
devfrom
fix/kimi-k3-bedrock-aiden-20260922

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • add Kimi K3's supported US Geo and Global CRIS profiles to Amazon Bedrock
  • omit the bare model ID because Bedrock rejects it for on-demand throughput
  • record always-on reasoning with no verified Bedrock Converse effort control
  • record the returned reasoningContent side channel with interleaved = true
  • apply Bedrock's text/image-only modality override and published Standard/cache pricing

This PR changes only the two new Amazon Bedrock provider files.

Evidence

  • Amazon Bedrock Kimi K3 model card: US Geo and Global inference IDs, no In-Region availability, modalities, and pricing
  • Amazon Bedrock Converse: model-native fields are carried under additionalModelRequestFields
  • Live Converse probes on 2026-09-23:
    • moonshotai.kimi-k3 was rejected with ValidationException: on-demand invocation requires an inference profile
    • Global and US profiles returned reasoningContent, supporting interleaved = true
    • reasoning_effort accepted malformed strings, numbers, and objects exactly like an unrelated unknown field; repeated low/max probes did not establish a control effect, so the Bedrock entries use reasoning_options = []

Validation

  • bun validate
  • git diff --check
  • live Amazon Bedrock Converse probes against the bare, Global, and US IDs

Supersedes #7715.
Closes #7714.

Requested by: @rekram1-node (Aiden via Slack)

@github-actions

Copy link
Copy Markdown
Contributor

Action items

  • [high] [possible mistake] providers/amazon-bedrock/models/global.moonshotai.kimi-k3.toml:4 - Check: Relay reasoning_options must copy the lab controls only where this host actually exposes them, with a Bedrock Converse wire path. Why: The file claims effort low|high|max via native reasoning_effort, but cites only Moonshot native docs plus an AWS model card the PR body limits to IDs/modalities/pricing; same-surface Bedrock Moonshot peers use toggle via additionalModelRequestFields.reasoning_config or [] for always-on, and the comment omits the additionalModelRequestFields.* Converse path used by every other Bedrock effort entry. Native and Bedrock surfaces are not interchangeable. Action: Provide Bedrock-specific evidence that Kimi K3 accepts an effort control on Bedrock (model-parameters doc or live Converse test) and correct the comment to the exact Converse field, or change to [] if reasoning is always-on with no caller control like moonshot.kimi-k2-thinking.
  • [high] [possible mistake] providers/amazon-bedrock/models/us.moonshotai.kimi-k3.toml:4 - Check: Relay reasoning_options must copy the lab controls only where this host actually exposes them, with a Bedrock Converse wire path. Why: Same as Global profile: effort low|high|max is sourced from Moonshot use-reasoning-effort docs, not Bedrock host docs/test, contradicts Bedrock Moonshot peer shapes, and documents bare reasoning_effort instead of additionalModelRequestFields.*. Action: Provide Bedrock-specific evidence for the US profile and fix the wire comment to the verified Converse field, or use [] if Bedrock exposes no effort control.

@opencode-agent
opencode-agent Bot force-pushed the fix/kimi-k3-bedrock-aiden-20260922 branch from 5c6ce28 to e43f316 Compare September 22, 2026 19:56
@opencode-agent

opencode-agent Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Superseded by the final scoped investigation in e0c8a89; see the current PR body.

@github-actions

Copy link
Copy Markdown
Contributor

Action items

  • [medium] [possible mistake] providers/amazon-bedrock/models/global.moonshotai.kimi-k3.toml:12 - Check: Provider interleaved must reflect the reasoning side channel exposed on that host. Why: The file's own header states the Converse effort field "returned reasoningContent", the first-party providers/moonshotai/models/kimi-k3.toml declares [interleaved] field = "reasoning_content", and same-surface peers providers/amazon-bedrock/models/moonshotai.kimi-k2.5.toml:12 and moonshot.kimi-k2-thinking.toml:8 set interleaved = true for the same reasoningContent signal; omitting it understates the Bedrock capability. Action: Verify Bedrock Converse reasoningContent for this profile and add interleaved = true if confirmed, or explain why K3 differs from K2.5/thinking peers.
  • [medium] [possible mistake] providers/amazon-bedrock/models/us.moonshotai.kimi-k3.toml:12 - Check: Provider interleaved must reflect the reasoning side channel exposed on that host. Why: Same inconsistency as the Global twin — header claims reasoningContent was returned, first-party declares reasoning_content, and Bedrock Kimi peers declare interleaved = true, but this file omits interleaved. Action: Verify US profile reasoningContent behavior and add interleaved = true if confirmed, or explain why K3 differs.

@opencode-agent
opencode-agent Bot force-pushed the fix/kimi-k3-bedrock-aiden-20260922 branch from e43f316 to 97b2416 Compare September 22, 2026 19:59
@opencode-agent

opencode-agent Bot commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor Author

Superseded by the final scoped investigation in e0c8a89; see the current PR body.

@github-actions

Copy link
Copy Markdown
Contributor

Action items

  • [high] [violation] providers/amazon-bedrock/models/global.moonshotai.kimi-k3.toml:10 - Check: Relay reasoning_options must copy lab controls; [] requires affirmative no-control, not uncertainty. Why: Native providers/moonshotai/models/kimi-k3.toml exposes effort low/high/max, but both new Bedrock files (global./us.moonshotai.kimi-k3.toml) use []. File comments cite undocumented control + invalid value accepted + inconclusive low/max probes, while PR body reports additionalModelRequestFields.reasoning_effort accepted low/max/high — acceptance without measured no-effect does not prove Bedrock ignores it. Action: Author effort low/high/max with leading wire comment for additionalModelRequestFields.reasoning_effort on both files, or provide affirmative no-effect evidence.
  • [medium] [possible mistake] providers/amazon-bedrock/models/global.moonshotai.kimi-k3.toml:10 - Check: Bedrock interleaved side-channel when Converse returns reasoning. Why: PR body says both profiles returned reasoningContent, first-party has reasoning_content, and Bedrock peers (moonshot.kimi-k2-thinking, moonshotai.kimi-k2.5, minimax.minimax-m2.5 always-on []) set interleaved = true, but both new files omit it. Action: Add interleaved = true to both new files if Converse exposes reasoning, or document why no side-channel exists.

@opencode-agent
opencode-agent Bot force-pushed the fix/kimi-k3-bedrock-aiden-20260922 branch from 97b2416 to 8e35f00 Compare September 23, 2026 03:57
@opencode-agent

opencode-agent Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor Author

Superseded by the final scoped investigation in e0c8a89; see the current PR body.

@github-actions

Copy link
Copy Markdown
Contributor

Action items

  • [high] [violation] providers/amazon-bedrock/models/global.moonshotai.kimi-k3.toml:11 - Check: Relay reasoning_options must reflect this host's verified Converse surface, not the lab API. Why: PR summary/body states Bedrock K3 has "no verified Converse caller control" and that additionalModelRequestFields.reasoning_effort accepted an invalid value with no established low/max effect, and cites Converse docs with no K3 effort control; the file still authors effort ["low","high","max"] sourced to Moonshot first-party use-reasoning-effort docs, contradicting the body and the always-on Bedrock peer moonshot.kimi-k2-thinking.toml which uses []. Action: Change to reasoning_options = [] to match the claimed always-on/no-control state, or provide Bedrock-authoritative docs or meaningful low-vs-max probe evidence that additionalModelRequestFields.reasoning_effort controls Bedrock K3 and remove lab-only citations for that control.
  • [high] [violation] providers/amazon-bedrock/models/us.moonshotai.kimi-k3.toml:11 - Check: Relay reasoning_options must reflect this host's verified Converse surface, not the lab API. Why: Same contradiction as Global: PR body reports US probes returned reasoningContent but did not establish effort control and states Bedrock entries use [], while the file authors effort ["low","high","max"] with a comment asserting additionalModelRequestFields.reasoning_effort = low|high|max (default max) backed only by Moonshot docs and field acceptance. Action: Change to reasoning_options = [] or provide Bedrock-authoritative docs or meaningful low-vs-max probe evidence for the US profile and cite only that Bedrock evidence.

@opencode-agent
opencode-agent Bot force-pushed the fix/kimi-k3-bedrock-aiden-20260922 branch from 8e35f00 to e0c8a89 Compare September 23, 2026 04:05
@opencode-agent

Copy link
Copy Markdown
Contributor Author

Final correction in e0c8a89: the commit now changes only the two Amazon Bedrock files. Live Converse evidence is recorded in the PR body: the bare ID is rejected, both inference profiles return reasoningContent, and malformed reasoning_effort values behave like unrelated unknown fields with no verified low/max effect. Accordingly the files use reasoning_options = [] and interleaved = true. bun validate passes.

@github-actions

Copy link
Copy Markdown
Contributor

Action items

  • [high] [possible mistake] providers/amazon-bedrock/models/global.moonshotai.kimi-k3.toml:30 - Check: Relay reasoning_options baseline per AGENTS.md + audit skill (copy lab + same-surface peers; [] only for affirmative no-control, never from uncertainty). Why: Lab providers/moonshotai/models/kimi-k3.toml and peers all expose low/high/max (Moonshot/OpenRouter/Cloudflare: toggle + effort; aiand/Alibaba: effort-only always-on), yet both new Bedrock files (global and us.moonshotai.kimi-k3.toml:58) set reasoning_options = [] while the PR body simultaneously claims to “carry low/high/max through additionalModelRequestFields.reasoning_effort” based on probes accepting the field — directly contradicting the file headers claiming the same field behaved like an unknown field with “no verified effect.” Action: Verify the Bedrock Converse surface (docs + meaningful low-vs-max effect, not mere acceptance); if effort works author effort ["low","high","max"] (plus toggle only with top-of-file wire comment if Bedrock forwards on/off), otherwise keep [] and correct the PR body to remove the carry-through claim and the stale “align shared and first-party metadata” bullet that has no diff.

@rekram1-node
rekram1-node merged commit 1222d43 into dev Sep 23, 2026
2 checks passed
@rekram1-node
rekram1-node deleted the fix/kimi-k3-bedrock-aiden-20260922 branch September 23, 2026 04:09
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.

Add Kimi K3 (moonshotai.kimi-k3) to amazon-bedrock provider

1 participant