Compute: disable GLM thinking for skill outputs#14
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
[object Object]by normalizing the backend compute response path, not the already-correct modal renderer.chat_template_kwargs: { enable_thinking: false }to non-streaming 0G Compute chat requests so GLM returns finalmessage.contentinstead of reasoning-only payloads.docs/DECISIONS.md.Production evidence
Authenticated production invoke for Novaris Agent #27 returned:
{ "skillId": "text.summarize", "output": { "summary": "[object Object]" }, "compute": { "chatId": "7d7c7f61-6644-4684-a5bc-19a1389f4784", "model": "zai-org/GLM-5-FP8", "provider": "0xd9966e13a6026Fcca4b13E7ff95c94DE268C471C" }, "receipt": { "txHash": "0x47b63c7735ef98aa1e56f0d9490d58af67e69795f5f0d32642307b213bc30347", "status": "minted" } }Raw provider capture showed GLM thinking was enabled by default:
message.content: nullmessage.reasoning: "..."finish_reason: "length"So Edge shaped
String(response)into[object Object]before the frontend saw it. The modal was reading the right field path:result.output.summary.Verification
pnpm -F @apogee/compute-client typecheckpnpm -F @apogee/compute-client buildpnpm -F @apogee/compute-client testpnpm -F @apogee/edge typecheckpnpm -F @apogee/edge buildpnpm -F @apogee/web testApogee is a 0G autonomous-agent runtime for deploying agents, running skills, and minting on-chain proofs of useful work.Scope
No changes to receipt minting, ownership checks, policy enforcement, status gates, auto-promote logic, Pilot endpoint, Aurora/Vesper/Helix, or heartbeat runtime.