Repository navigation
Closed
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Description
Description
I have defined an opencode startup function with a local proxy in zshrc.
opencodep () {
HTTP_PROXY=http://127.0.0.1:1087 HTTPS_PROXY=http://127.0.0.1:1087 opencode "$@"
}
But when executing, I get an error:
[object Object] Dec 18 17:29:59 on ttys009
I can't say the exact version, but it used to work.
OpenCode version
1.0.150
Steps to reproduce
- setup launching function
opencodep () {
HTTP_PROXY=http://127.0.0.1:1087 HTTPS_PROXY=http://127.0.0.1:1087 opencode "$@"
}
- write in terminal
opencodep
Screenshot and/or share link
No response
Operating System
MaxOs 26.1
Terminal
Warp, system terminal
Reacted by David Atkins
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingopentuiThis relates to changes in v1.0, now that opencode uses opentuiThis relates to changes in v1.0, now that opencode uses opentui
Activity
rekram1-node commentedon Dec 18, 2025
https://opencode.ai/docs/network/
have u seen this?
aaudin90 commentedon Dec 19, 2025
it works, thx.