Skip to content

v0.5.15: Authentication Selection & SiliconFlow Fallback Fix

Latest

Choose a tag to compare

@rv192 rv192 released this 12 Jul 19:20
· 10 commits to main since this release

πŸŽ‰ 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!