mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-02-19 00:37:23 +08:00
When numeric model names (e.g., '1') are used with vLLM and configured in YAML without quotes, they are parsed as integers. This causes AttributeError when calling startswith() method. Changes: - Add type checking for model_type - Convert non-string model_type to string with warning log - Prevents crash when using custom numeric model names Fixes #2664