mirror of
https://github.com/githubhjs/CLIProxyAPIPlus.git
synced 2026-07-12 09:35:16 +00:00
6f9c23af5e
refactor(translator): consolidate Claude content handling logic - Unified logic for text and image content conversion to improve maintainability. - Introduced `convertClaudeContentPart` utility for consistent content transformation. - Replaced redundant string operations with streamlined JSON modifications. - Adjusted validation checks for message content generation.