Skip to content

Error Model not found #4

@easazade

Description

@easazade

I get an error saying model not found when I hit ^G agent progress is shown the below error is printed. It says model openrouter/elephant-alpha not found then asks did you mean openrouter/elephant-alpha. which are the same. Model also works find in opencode

{"type":"error","timestamp":1776378616852,"sessionID":"ses_26795641cffeIqlyYokG7H0WJm","error":{"name":"UnknownError","data":{"message":"Model not found: openrouter/elephant-alpha. Did you mean: openrouter/elephant-alpha?"}}}

And this is config i put in .zshrc file

# zsh-opencode-tab plugin

export Z_OC_TAB_OPENCODE_MODEL="openrouter/elephant-alpha" 
export Z_OC_TAB_EXPLAIN_PRINT_CMD='bat --plain --color=always --decorations=always --language=markdown --paging=never {}'

export Z_OC_TAB_DEBUG=1
export Z_OC_TAB_DEBUG_LOG=/tmp/zsh-opencode-tab.log
export Z_OC_TAB_OPENCODE_LOG_LEVEL=DEBUG
export Z_OC_TAB_OPENCODE_PRINT_LOGS=1

# Alternative: bind to a different key (example: Ctrl-G) to avoid TAB conflicts.
export Z_OC_TAB_BINDKEY='^G'

By the way log file never gets created

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions