r/opencode • u/carlotes-247 • 12d ago
Ensuring that local llms with opencode only install in specific conda environment
/r/LocalLLM/comments/1y4j0r4/ensuring_that_local_llms_with_opencode_only/
1
Upvotes
View all comments
Show parent comment
1
u/carlotes-247 11d ago
I am trying to establish hard rules on how the agent installs new packages. I started using opencode and I need my agent to not pollute my base conda environment. So I want (1) to agree before installation which packages the agent installs, and (2) establish a rule for the agent to always install in a specific conda environment. I want to set things up in a way that there is no risk for the agent to override the rules and to always follow them.
edit: clarifying that I downloaded the opencode windows desktop client and I am using local models with ollama.