mirror of
https://github.com/xtekky/gpt4free.git
synced 2025-10-08 09:40:08 +08:00
feat(qwen): add support for qwen3-max-preview model
This adds the 'qwen3-max-preview' model to the list of supported models for the chat.qwen.ai provider. Resolves #3172
This commit is contained in:
@@ -28,6 +28,7 @@ class Qwen(AsyncGeneratorProvider, ProviderModelMixin):
|
|||||||
|
|
||||||
# Complete list of models, extracted from the API
|
# Complete list of models, extracted from the API
|
||||||
models = [
|
models = [
|
||||||
|
"qwen3-max-preview",
|
||||||
"qwen3-235b-a22b",
|
"qwen3-235b-a22b",
|
||||||
"qwen3-coder-plus",
|
"qwen3-coder-plus",
|
||||||
"qwen3-30b-a3b",
|
"qwen3-30b-a3b",
|
||||||
@@ -206,3 +207,4 @@ class Qwen(AsyncGeneratorProvider, ProviderModelMixin):
|
|||||||
raise e
|
raise e
|
||||||
|
|
||||||
raise RateLimitError("The Qwen provider reached the request limit after 5 attempts.")
|
raise RateLimitError("The Qwen provider reached the request limit after 5 attempts.")
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user