GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix(xai): pass through reasoning effort by opencode-agent[bot] · Pull Request #42160 · anomalyco/opencode

Conversation

@opencode-agent

@opencode-agent opencode-agent Bot commented Aug 12, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Summary

  • loosen the patched xAI SDK reasoning-effort schemas from a fixed enum to a string for both Chat and Responses
  • preserve arbitrary effort values on the outbound provider request
  • cover xhigh pass-through for both xAI APIs

Related issues

  • [FEATURE]:Grok 4.3 reasoning levels #32459

Checks

  • bun test test/provider-xai-responses.test.ts (from packages/core)
  • bun typecheck (from packages/core)
  • clean forced install with the updated Bun patch

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

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@rekram1-node @opencode-agent
fix(xai): pass through reasoning effort
20ce57e
@opencode-agent opencode-agent Bot assigned rekram1-node Aug 12, 2026
@github-actions github-actions Bot added the contributor label Aug 12, 2026
@rekram1-node
rekram1-node merged commit 502310f into dev Aug 12, 2026
13 checks passed

Uh oh!

There was an error while loading. Please reload this page.

@rekram1-node
rekram1-node deleted the xai-reasoning-effort branch August 12, 2026 22:19
sepo-eng added a commit to Draugur-AI/opencode that referenced this pull request Aug 13, 2026
@sepo-eng @OpeOginni
@opencode-agent @rekram1-node @hoooou @stevenao @MatthewFeroz @skyzhao1223
chore: sync 11 low-risk upstream provider/reliability fixes from anom…
cd0bd27
…alyco/dev (#56)

* fix(ui): correct OC-2 weak icon color (anomalyco#41504)

(cherry picked from commit 3a90639)

* fix(provider): scope DeepSeek V4 Flash sampling defaults (anomalyco#41620)

Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: 侯秀凯 <[email protected]>
(cherry picked from commit 5d95348)

* fix(opencode): detect Copilot PDF input support (anomalyco#41522)

(cherry picked from commit 561afb4)

* fix(opencode): cap session retries with jitter (anomalyco#41939)

(cherry picked from commit c789868)

* fix(provider): add Merge Gateway reasoning variants (anomalyco#41867)

(cherry picked from commit 8571a92)

* docs: fix broken DigitalOcean and Daytona links (anomalyco#42048)

Co-authored-by: skyzhao1223 <[email protected]>
(cherry picked from commit ca3df21)

* docs: fix provider display name and PAT typos (anomalyco#42034)

Co-authored-by: skyzhao1223 <[email protected]>
(cherry picked from commit 959c8bd)

* fix(xai): pass through reasoning effort (anomalyco#42160)

Co-authored-by: Aiden Cline <[email protected]>
(cherry picked from commit 502310f)

* fix(mistral): pass through reasoning effort (anomalyco#42164)

Co-authored-by: Aiden Cline <[email protected]>
(cherry picked from commit beeabe2)

* fix(groq): pass through reasoning effort (anomalyco#42166)

Co-authored-by: Aiden Cline <[email protected]>
(cherry picked from commit 6fea419)

* fix(opencode): select Kimi prompt by provider (anomalyco#42161)

Co-authored-by: Aiden Cline <[email protected]>
(cherry picked from commit 91df883)

---------

Co-authored-by: OpeOginni <[email protected]>
Co-authored-by: opencode-agent[bot] <219766164+opencode-agent[bot]@users.noreply.github.com>
Co-authored-by: Aiden Cline <[email protected]>
Co-authored-by: 侯秀凯 <[email protected]>
Co-authored-by: Steven Ao <[email protected]>
Co-authored-by: Matthew Feroz <[email protected]>
Co-authored-by: SKY ZHAO <[email protected]>
Co-authored-by: skyzhao1223 <[email protected]>
Co-authored-by: Aiden Cline <[email protected]>
@github-actions github-actions Bot mentioned this pull request Aug 17, 2026
Informe upstream (semanal) jaminsmoke/Jarvis#52
Open
@opencode-agent opencode-agent Bot mentioned this pull request Aug 18, 2026
xai provider advertises xhigh variant its own SDK schema rejects #43226
Closed
@criterium criterium mentioned this pull request Aug 30, 2026
[FEATURE]: Expose low/high/max reasoning effort for z-ai/glm-5.3(-flash) (parity with glm-5.2 and xAI fix #42160) #46295
Closed
1 task done
1056674754 added a commit to 1056674754/opencode that referenced this pull request Aug 31, 2026
@1056674754
chore: merge OpenCode v1.18.18-sscity
acd13c0
Upstream v1.18.17 (02546df) -> v1.18.18 (31406cc), 7 commits.

Functional changes:
- fix(xai): pass through reasoning effort (anomalyco#42160)
- fix(mistral): pass through reasoning effort (anomalyco#42164)
- fix(groq): pass through reasoning effort (anomalyco#42166)
- fix(opencode): select Kimi prompt by provider (anomalyco#42161)
- chore: update nix node_modules hashes

Conflicts resolved: 29 package.json version bumps (rebranded 1.18.18-sscity),
bun.lock (took upstream, rebranded workspace entries via bun install).
session/system.ts and system.test.ts auto-merged cleanly (fork skills reload
hook plus upstream Kimi provider test); fork GLM/ZhiPu normalization and
retry classification untouched by this upstream range.
androidand pushed a commit to androidand/opencode-skein that referenced this pull request Sep 18, 2026
@opencode-agent @rekram1-node
fix(xai): pass through reasoning effort (anomalyco#42160)
2eb49cb
Co-authored-by: Aiden Cline <[email protected]>
androidand pushed a commit to androidand/opencode-skein that referenced this pull request Sep 19, 2026
@opencode-agent @rekram1-node
fix(xai): pass through reasoning effort (anomalyco#42160)
ffb2b7d
Co-authored-by: Aiden Cline <[email protected]>
androidand pushed a commit to androidand/opencode-skein that referenced this pull request Sep 19, 2026
@opencode-agent @rekram1-node
fix(xai): pass through reasoning effort (anomalyco#42160)
a3e62c4
Co-authored-by: Aiden Cline <[email protected]>
rldona pushed a commit to plazoleta-dev/FlupCode that referenced this pull request Sep 24, 2026
@opencode-agent @rekram1-node
fix(xai): pass through reasoning effort (anomalyco#42160)
c769021
Co-authored-by: Aiden Cline <[email protected]>
Ichinose-Kazuki pushed a commit to Ichinose-Kazuki/opencode that referenced this pull request Oct 7, 2026
@opencode-agent @rekram1-node
fix(xai): pass through reasoning effort (anomalyco#42160)
8ebd993
Co-authored-by: Aiden Cline <[email protected]>
Spark-Liang pushed a commit to Spark-Liang/opencode that referenced this pull request Oct 9, 2026
@opencode-agent @rekram1-node @Spark-Liang
fix(xai): pass through reasoning effort (anomalyco#42160)
f45e5fc
Co-authored-by: Aiden Cline <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

@rekram1-node rekram1-node

Labels

contributor

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

1 participant

@rekram1-node
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.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.