8000 set custom provider globally? · Issue #153 · sst/opencode · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

set custom provider globally? #153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
nacl32 opened this issue Jun 16, 2025 · 2 comments
Closed

set custom provider globally? #153

nacl32 opened this issue Jun 16, 2025 · 2 comments

Comments

@nacl32
Copy link
nacl32 commented Jun 16, 2025

hi!
it would be really handy if we could configure custom providers globally. gets a bit tedious having to configure a local server in every project.

i looked at the code and i believe the easiest way would be to remove the stop argument (the last one) here:

for (const file of ["opencode.jsonc", "opencode.json"]) {
const [resolved] = await Filesystem.findUp(
file,
app.path.cwd,
app.path.root,
)

this would make it possible to place an opencode.json in your user home directory, which the function would eventually find.
another possible solution would be to use the existing ~/.config/opencode folder

@GitMurf
Copy link
GitMurf commented Jun 16, 2025

@nacl32 funny! My issue beat you by 1 minute! 🤣 wanna close yours and we can consolidate there at: #152

@nacl32
Copy link
Author
nacl32 commented Jun 16, 2025

@nacl32 funny! My issue beat you by 1 minute! 🤣 wanna close yours and we can consolidate there at: #152

haha sure 😂

@nacl32 nacl32 closed this as completed Jun 16, 2025
carabistouflette pushed a commit to carabistouflette/opencode that referenced this issue Jun 16, 2025
* support: vertexai

fix

fix

set default for vertexai

added comment

fix

fix

* create schema

* fix README.md

* fix order

* added pupularity

* set tools if tools is exists

restore commentout

* fix comment

* set summarizer model
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants
0