add qwen 30b model
Browse files389 unmodified lines39039139239339439567 unmodified lines463464465466467468469389 unmodified lines"name": "Qwen3-235B-A22B-Thinking","id": "Qwen/Qwen3-235B-A22B-Thinking-2507","description": "Qwen3-235B-A22B-Thinking model with advanced reasoning capabilities"}]67 unmodified linesdef get_inference_client(model_id, provider="auto"):"""Return an InferenceClient with provider based on model_id and user selection."""if model_id == "moonshotai/Kimi-K2-Instruct":provider = "groq"elif model_id == "Qwen/Qwen3-235B-A22B":provider = "cerebras"389 unmodified lines39039139239339439539639739839940067 unmodified lines468469470471472473474475476477478479480389 unmodified lines"name": "Qwen3-235B-A22B-Thinking","id": "Qwen/Qwen3-235B-A22B-Thinking-2507","description": "Qwen3-235B-A22B-Thinking model with advanced reasoning capabilities"},{"name": "Qwen3-30B-A3B-Instruct-2507","id": "qwen3-30b-a3b-instruct-2507","description": "Qwen3-30B-A3B-Instruct model via Alibaba Cloud DashScope API"}]67 unmodified linesdef get_inference_client(model_id, provider="auto"):"""Return an InferenceClient with provider based on model_id and user selection."""if model_id == "qwen3-30b-a3b-instruct-2507":# Use DashScope OpenAI clientreturn OpenAI(api_key=os.getenv("DASHSCOPE_API_KEY"),base_url="https://dashscope.aliyuncs.com/compatible-mode/v1",)elif model_id == "moonshotai/Kimi-K2-Instruct":provider = "groq"elif model_id == "Qwen/Qwen3-235B-A22B":provider = "cerebras"
app.py+12-1