Skip to content

Add OpenRouter authentication support and enhance configuration manag… - #47

Closed
kingkillery wants to merge 1 commit into
QwenLM:mainfrom
kingkillery:orouter-compat-edit
Closed

Add OpenRouter authentication support and enhance configuration manag…#47
kingkillery wants to merge 1 commit into
QwenLM:mainfrom
kingkillery:orouter-compat-edit

Conversation

@kingkillery

Copy link
Copy Markdown

…ement

  • Introduced OpenRouter as a new authentication method in the CLI.
  • Updated the AuthDialog component to handle OpenRouter API key input.
  • Enhanced the content generator to support OpenRouter models.
  • Updated configuration parsing to prioritize OpenRouter settings.
  • Added OpenRouterContentGenerator class for handling OpenRouter API interactions.
  • Expanded error handling for missing API keys and models in the authentication flow.
  • Updated documentation to reflect new project structure and authentication options.

TLDR

Dive Deeper

Reviewer Test Plan

Testing Matrix

🍏 🪟 🐧
npm run
npx
Docker
Podman - -
Seatbelt - -

Linked issues / bugs

…ement

- Introduced OpenRouter as a new authentication method in the CLI.
- Updated the AuthDialog component to handle OpenRouter API key input.
- Enhanced the content generator to support OpenRouter models.
- Updated configuration parsing to prioritize OpenRouter settings.
- Added OpenRouterContentGenerator class for handling OpenRouter API interactions.
- Expanded error handling for missing API keys and models in the authentication flow.
- Updated documentation to reflect new project structure and authentication options.
@kingkillery
kingkillery deleted the orouter-compat-edit branch July 23, 2025 05:56
ranpox pushed a commit that referenced this pull request Aug 1, 2025
* Bump the character limit to web fetch.

* Piped Input Hook. First step in bringing in STDIN piping.

* Fix linting errors.

* Remove incorrect comment.
xaelistic pushed a commit to xaelistic/qwen-code that referenced this pull request Jun 7, 2026
* Bump the character limit to web fetch.

* Piped Input Hook. First step in bringing in STDIN piping.

* Fix linting errors.

* Remove incorrect comment.
Eric-GoodBoy-Tech added a commit to Eric-GoodBoy-Tech/qwen-code that referenced this pull request Jun 28, 2026
Round 2 (4 items):
- QwenLM#35: add [atMention=true] prefix to handleGroup/handleC2C
- QwenLM#36: sanitize senderName (strip [ ]) in all handlers
- QwenLM#37: remove redundant [可选回复] prefix
- QwenLM#38: add C2C scoping guard to system instructions

Round 3 (9 items):
- QwenLM#39: add GROUP_MESSAGE intent (bit 26) to types + IDENTIFY
- QwenLM#40: fix msgSeqMap.delete key (msgId not groupId)
- QwenLM#41: truncate token error body to prevent appSecret leak
- QwenLM#42: add group_openid null guard to toggle handlers
- QwenLM#44: remove dead hasMarkdownSyntax/hasLinkSyntax
- QwenLM#45: validate gateway URL protocol (wss:/ws:)
- QwenLM#46: add error logging to restore* catch blocks
- QwenLM#47: add disposed check in connect() retry loop
- QwenLM#43: already fixed in round 1 (isDuplicate at top)
Eric-GoodBoy-Tech added a commit to Eric-GoodBoy-Tech/qwen-code that referenced this pull request Jun 29, 2026
Round 2 (4 items):
- QwenLM#35: add [atMention=true] prefix to handleGroup/handleC2C
- QwenLM#36: sanitize senderName (strip [ ]) in all handlers
- QwenLM#37: remove redundant [可选回复] prefix
- QwenLM#38: add C2C scoping guard to system instructions

Round 3 (9 items):
- QwenLM#39: add GROUP_MESSAGE intent (bit 26) to types + IDENTIFY
- QwenLM#40: fix msgSeqMap.delete key (msgId not groupId)
- QwenLM#41: truncate token error body to prevent appSecret leak
- QwenLM#42: add group_openid null guard to toggle handlers
- QwenLM#44: remove dead hasMarkdownSyntax/hasLinkSyntax
- QwenLM#45: validate gateway URL protocol (wss:/ws:)
- QwenLM#46: add error logging to restore* catch blocks
- QwenLM#47: add disposed check in connect() retry loop
- QwenLM#43: already fixed in round 1 (isDuplicate at top)
Eric-GoodBoy-Tech added a commit to Eric-GoodBoy-Tech/qwen-code that referenced this pull request Jun 29, 2026
Round 2 (4 items):
- QwenLM#35: add [atMention=true] prefix to handleGroup/handleC2C
- QwenLM#36: sanitize senderName (strip [ ]) in all handlers
- QwenLM#37: remove redundant [可选回复] prefix
- QwenLM#38: add C2C scoping guard to system instructions

Round 3 (9 items):
- QwenLM#39: add GROUP_MESSAGE intent (bit 26) to types + IDENTIFY
- QwenLM#40: fix msgSeqMap.delete key (msgId not groupId)
- QwenLM#41: truncate token error body to prevent appSecret leak
- QwenLM#42: add group_openid null guard to toggle handlers
- QwenLM#44: remove dead hasMarkdownSyntax/hasLinkSyntax
- QwenLM#45: validate gateway URL protocol (wss:/ws:)
- QwenLM#46: add error logging to restore* catch blocks
- QwenLM#47: add disposed check in connect() retry loop
- QwenLM#43: already fixed in round 1 (isDuplicate at top)
Eric-GoodBoy-Tech added a commit to Eric-GoodBoy-Tech/qwen-code that referenced this pull request Jun 30, 2026
Round 2 (4 items):
- QwenLM#35: add [atMention=true] prefix to handleGroup/handleC2C
- QwenLM#36: sanitize senderName (strip [ ]) in all handlers
- QwenLM#37: remove redundant [可选回复] prefix
- QwenLM#38: add C2C scoping guard to system instructions

Round 3 (9 items):
- QwenLM#39: add GROUP_MESSAGE intent (bit 26) to types + IDENTIFY
- QwenLM#40: fix msgSeqMap.delete key (msgId not groupId)
- QwenLM#41: truncate token error body to prevent appSecret leak
- QwenLM#42: add group_openid null guard to toggle handlers
- QwenLM#44: remove dead hasMarkdownSyntax/hasLinkSyntax
- QwenLM#45: validate gateway URL protocol (wss:/ws:)
- QwenLM#46: add error logging to restore* catch blocks
- QwenLM#47: add disposed check in connect() retry loop
- QwenLM#43: already fixed in round 1 (isDuplicate at top)
Eric-GoodBoy-Tech added a commit to Eric-GoodBoy-Tech/qwen-code that referenced this pull request Jun 30, 2026
Round 2 (4 items):
- QwenLM#35: add [atMention=true] prefix to handleGroup/handleC2C
- QwenLM#36: sanitize senderName (strip [ ]) in all handlers
- QwenLM#37: remove redundant [可选回复] prefix
- QwenLM#38: add C2C scoping guard to system instructions

Round 3 (9 items):
- QwenLM#39: add GROUP_MESSAGE intent (bit 26) to types + IDENTIFY
- QwenLM#40: fix msgSeqMap.delete key (msgId not groupId)
- QwenLM#41: truncate token error body to prevent appSecret leak
- QwenLM#42: add group_openid null guard to toggle handlers
- QwenLM#44: remove dead hasMarkdownSyntax/hasLinkSyntax
- QwenLM#45: validate gateway URL protocol (wss:/ws:)
- QwenLM#46: add error logging to restore* catch blocks
- QwenLM#47: add disposed check in connect() retry loop
- QwenLM#43: already fixed in round 1 (isDuplicate at top)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants