1jehuang / 1jehuang/jcode

Login to opencode go and local openai compatible api not working.

Open
#312 6 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug priority: high triage: unclear
Dominant language
Rust
Stars
19.9k
Forks
2.3k
Avg merge
2d 7h
Merged PRs (30d)
30

Description

using v0.18.4/jcode-linux-x86_64.tar.gz
in the login menu i select opencode go, i paste my api key, it gets me back to the menu. tested with 2 keys
I try openai compatible, asks for base url, i paste local http url, it gets back to the menu
going to /models it shows me a lot of claude and gpt models I don't have acces to, I never selected claude as provider. https://i.imgur.com/RmAmxU9.png

I discovered that if I hold down the down arrow key i see claude opus 4.5 model with 2per.cent usage https://i.imgur.com/JZ49jH1.png

I have no idea what's going on, can't be this buggy

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the report using the v0.18.4 jcode-linux-x86_64.tar.gz binary, first through the login menu with opencode go and then with the OpenAI-compatible provider and local base URL. Inspect the login menu and /models entry points to determine why authentication returns to the menu and why unrelated Claude and GPT models appear. Done means both provider flows behave correctly and /models lists only available models.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
ai, authentication, cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.