mirror of
https://github.com/OpenRouterTeam/spawn.git
synced 2026-05-22 11:24:18 +00:00
fix(junie): remove JUNIE_MODEL env var to fix 'Unknown model: openrouter/auto' crash (#2735)
Junie only accepts its own shorthand model names (gpt, opus, sonnet, etc.) and not OpenRouter model IDs. Removing modelEnvVar lets junie handle its own model routing via the OpenRouter API key instead. Fixes #2734 Agent: code-health Co-authored-by: B <6723574+louisgv@users.noreply.github.com> Co-authored-by: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
e1617fdc01
commit
7fe1bdf6b3
2 changed files with 1 additions and 2 deletions
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@openrouter/spawn",
|
||||
"version": "0.21.1",
|
||||
"version": "0.21.2",
|
||||
"type": "module",
|
||||
"bin": {
|
||||
"spawn": "cli.js"
|
||||
|
|
|
|||
|
|
@ -1037,7 +1037,6 @@ function createAgents(runner: CloudRunner): Record<string, AgentConfig> {
|
|||
junie: {
|
||||
name: "Junie",
|
||||
cloudInitTier: "node",
|
||||
modelEnvVar: "JUNIE_MODEL",
|
||||
preProvision: detectGithubAuth,
|
||||
install: () =>
|
||||
installAgent(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue