Skip to content

[Bug] GUI shows no output for openrouter provider (CLI works correctly) #2

@jxxcr

Description

@jxxcr

I encountered a bug while using it. When using the openrouter provider, there is no output in the GUI. I can output normally using codexbar gui.

codexbar output:
codexbar --provider openrouter --source api --format json --pretty
[
{
"provider" : "openrouter",
"source" : "api",
"usage" : {
"identity" : {
"loginMethod" : "Balance: $35.05",
"providerID" : "openrouter"
},
"loginMethod" : "Balance: $35.05",
"openRouterUsage" : {
"balance" : 35.05187273999999,
"keyDataFetched" : true,
"keyUsage" : 41.728327348,
"keyUsageDaily" : 1.478974613,
"keyUsageMonthly" : 17.475567237,
"keyUsageWeekly" : 4.241156151,
"rateLimit" : {
"interval" : "10s",
"requests" : -1
},
"totalCredits" : 160,
"totalUsage" : 124.94812726,
"updatedAt" : "2026-05-26T15:20:45Z",
"usedPercent" : 78.0925795375
},
"primary" : null,
"secondary" : null,
"tertiary" : null,
"updatedAt" : "2026-05-26T15:20:45Z"
}
}
]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions