aefmind
aefmind
@rekram1-node > If you can show me a request that was sent to a subagent with the header x-initiator set to user (from a subagent!) Then it could help narrow...
@rekram1-node Ok sir, this is weird. Whole time I was testing in oc desktop. I just tested in tui and subagents are not wasting quota, but tested again in desktop...
I uninstalled and clean all related opencode files and did a new install. Tested again with same results. Using opencode desktop subagents send `x-initiator: user`, but in tui they send...
This is too weird. I run web ui and it works fine, however desktop app stills sending as `x-initiator: user`, even after reinstall.
Also if you set compaction to use a model from opencode zen and you are using copilot models, requests after compaction fails with an error message about invalid sign in...
@rekram1-node I was doing some research work. Here are some things: - **A question:** Is it feasible and appropriate to add this to `copilot.ts` in "chat.headers" hook?: ```ts if (...
> Edit: here is the fix: [#12316](https://github.com/anomalyco/opencode/pull/12316) Just tried it. It works fine in webui and desktop.
I confirm @CodeByPeete is correct. Published version of desktop app still drains quota in subagents when using its embedded autolaunched server, even in v1.1.53. But connecting it to the server...
> if ( > typeof input.agent === "object" && > (input.agent as any).name.includes(["compaction", "summary"]) > ) { > output.headers["x-initiator"] = "agent" > } > > Adding this condition solve definitely...
> I used Opus 4.6 and issued exactly one prompt. It consumed 9 premium requests. No compaction or anything. The multiplier should be 3 as for Opus 4.5. 1. Are...