Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
anomalyco
/
opencode
Public
Notifications
You must be signed in to change notification settings
Fork
27.5k
Star
209k
Code
Issues
4.5k
Pull requests
1.5k
Actions
Projects
Security and quality
2
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
feat: create and expose model-id environment variables for bash from CLI
- #10451
#10451
Closed
bdwelle
wants to merge 18 commits into
anomalyco:dev
anomalyco/opencode:dev
from
bdwelle:feature/model-env-vars
Copy head branch name to clipboard
Conversation
Commits
18
(18)
Checks
Files changed
Closed
feat: create and expose model-id environment variables for bash from CLI
#10451
bdwelle
wants to merge 18 commits into
anomalyco:dev
anomalyco/opencode:dev
from
bdwelle:feature/model-env-vars
Copy head branch name to clipboard
Commits
Commits on Jan 18, 2026
feat(tool): increase question header and label limits
Show description for 73213c8
bdwelle
committed
73213c8
View commit details
Copy full SHA for 73213c8
Browse repository at this point
Commits on Jan 24, 2026
make current model name and id available in bash tool and ! as env vars
Show description for 07338f3
bdwelle
committed
07338f3
View commit details
Copy full SHA for 07338f3
Browse repository at this point
gitignore verify_env.sh
bdwelle
committed
b568b55
View commit details
Copy full SHA for b568b55
Browse repository at this point
Commits on Jan 25, 2026
Merge branch 'dev' into feature/model-env-vars
bdwelle
authored
80bb8e0
View commit details
Copy full SHA for 80bb8e0
Browse repository at this point
fix: resolve merge conflicts from dev branch
Show description for acc727e
bdwelle
committed
acc727e
View commit details
Copy full SHA for acc727e
Browse repository at this point
fix: restore OPENCODE_TERMINAL environment variable
Show description for b41198d
bdwelle
committed
b41198d
View commit details
Copy full SHA for b41198d
Browse repository at this point
chore: remove unnecessary OPENCODE_TERMINAL env var
Show description for 37bd098
bdwelle
committed
37bd098
View commit details
Copy full SHA for 37bd098
Browse repository at this point
Commits on Jan 27, 2026
fix: set model env vars only, don't modify shell commands
Show description for b7cba84
bdwelle
committed
b7cba84
View commit details
Copy full SHA for b7cba84
Browse repository at this point
Commits on Jan 28, 2026
added /env builtin command to show valus of OPENCODE_ env vars
bdwelle
committed
2d1e4d4
View commit details
Copy full SHA for 2d1e4d4
Browse repository at this point
Commits on Jan 29, 2026
rename so OPENCODE_MODEL_ var names consistent
Show description for bd3f742
bdwelle
committed
bd3f742
View commit details
Copy full SHA for bd3f742
Browse repository at this point
Merge branch 'anomalyco:dev' into feature/model-env-vars
bdwelle
authored
e5690df
View commit details
Copy full SHA for e5690df
Browse repository at this point
Merge remote-tracking branch 'origin/dev' into feature/model-env-vars
bdwelle
committed
822a7bf
View commit details
Copy full SHA for 822a7bf
Browse repository at this point
Merge branch 'feature/model-env-vars' of https://github.com/bdwelle/opencode into feature/model-env-vars
bdwelle
committed
5bd66d6
View commit details
Copy full SHA for 5bd66d6
Browse repository at this point
fix: add write permissions to workflow
bdwelle
committed
bfcb556
View commit details
Copy full SHA for bfcb556
Browse repository at this point
fix: use PAT for workflow authentication
bdwelle
committed
198b4b3
View commit details
Copy full SHA for 198b4b3
Browse repository at this point
Commits on Jan 30, 2026
fix: skip push for fork PRs, only check for changes
bdwelle
committed
67cc54a
View commit details
Copy full SHA for 67cc54a
Browse repository at this point
fix: only push when not from fork PR
bdwelle
committed
a922f39
View commit details
Copy full SHA for a922f39
Browse repository at this point
chore: generate
bdwelle
committed
96b7b7f
View commit details
Copy full SHA for 96b7b7f
Browse repository at this point
You can’t perform that action at this time.