Skip to content

Releases: rv192/gem-cli

v0.5.15: Authentication Selection & SiliconFlow Fallback Fix

Choose a tag to compare

@rv192 rv192 released this 12 Jul 19:20

🎉 v0.5.15: Authentication Selection & SiliconFlow Fallback Fix

✅ Fixed Critical Issues

🎯 Authentication Selection

  • Fixed: Initial authentication selection now defaults to first option (72live API when available)
  • Fixed: Visual selection indicator now matches actual selection behavior
  • Improved: User experience follows standard UI conventions (first option selected by default)

🔄 SiliconFlow Fallback Channel

  • Fixed: SiliconFlow API now works as intended fallback channel without requiring API key setup
  • Enhanced: SiliconFlow uses built-in default API key for seamless fallback experience
  • Maintained: SILICONFLOW_DEFAULT_MODEL environment variable support (defaults to THUDM/GLM-4-9B-0414)

🔧 Technical Improvements

Authentication Flow

  • Simplified authentication validation logic for SiliconFlow
  • Fixed initialAuthIndex calculation in AuthDialog component
  • Updated content generator validation to support SiliconFlow fallback
  • Clear separation between OpenAI Compatible and SiliconFlow authentication flows

Configuration Management

  • Proper model configuration for SiliconFlow (THUDM/GLM-4-9B-0414 default)
  • Maintained backward compatibility with existing configurations
  • Enhanced environment variable handling for SILICONFLOW_DEFAULT_MODEL

🚀 User Experience

Before v0.5.15:

  • Authentication selection was confusing (wrong default selection)
  • SiliconFlow required manual API key setup
  • Visual indicators didn't match actual selection

After v0.5.15:

  • ✅ First option (72live API) selected by default when available
  • ✅ SiliconFlow works out-of-the-box as fallback channel
  • ✅ Clear visual feedback matches user selection
  • ✅ Seamless authentication experience

📦 Installation

npm install -g @rv192/gem-cli@0.5.15

🎯 Recommended Action

Please update immediately if you experienced:

  • Confusion with authentication selection
  • Issues with SiliconFlow requiring API key setup
  • Visual selection not matching actual behavior

This version provides a much smoother authentication experience!

v0.5.13: Fix Unicode encoding and JSON parsing issues

Choose a tag to compare

@rv192 rv192 released this 12 Jul 18:10

🎉 Version 0.5.13

🐛 Bug Fixes

  • Fix ByteString conversion error with Unicode characters in API keys
  • Enhance JSON parsing to handle Markdown-formatted responses from SiliconFlow
  • Disable usage statistics collection by default to prevent network errors
  • Fix Chinese input handling in SiliconFlow and OpenAI-compatible APIs

✨ Improvements

  • Better error handling for API responses
  • Support for more API response formats
  • Reduced unnecessary network requests
  • Improved SiliconFlow channel configuration

📋 Technical Details

  • Enhanced JSON parsing logic to extract JSON from Markdown code blocks
  • Fixed Unicode character encoding issues in OpenAI client
  • Updated default configuration to disable telemetry by default
  • Improved authentication flow for SiliconFlow

🚀 Installation

npm install -g @rv192/gem-cli@0.5.13

This version significantly improves stability and user experience when using SiliconFlow and other OpenAI-compatible APIs.