r/opencode • • 13d ago

Where to add a custom provide in v2?

Can't seem to find it as how it was in v1...

Can someone please help me out thnx?

2 Upvotes

3 comments sorted by

1

u/look 13d ago

You can add it to the json config. It should understand v1 config format, but the v2 is similar with slightly different, cleaned up structure.

If you’re not familiar with that, you can just ask the agent in an opencode session to help you. It has docs/skills on configuring itself.

1

u/Yann27 13d ago

Naah I wont waste tokens on this even free with lame models, Yes i know how to config it but no i wont add that path to my favorites to always repeat that process when i need it? I t makes no sense that it's not integrated in the desktop app like how it was in v1 that's some bullshit.

So guess that feature is not there anymore.

1

u/look 13d ago

I’ve never used the desktop app. Not sure what config interface it had.

> always repeat the process when i need it

Not sure what you mean there. Add the provider and model definitions (or just use a discovery plugin for the provider) and then it is always there. Nothing to repeat when you need it after that.