Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/anomalyco/opencode-bench
/ sessionKey
Function
sessionKey
src/agents/opencode.ts:53–55 ·
view source on GitHub ↗
(model: string, cwd: string)
Source
from the content-addressed store, hash-verified
51
];
52
53
function
sessionKey(model: string, cwd: string): string {
54
return
`${cwd}::${model}`;
55
}
56
57
const
opencodeAgent: Agent.Definition = {
58
async
run(model, prompt, options) {
Callers
1
run
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected