factorstudios commited on
Commit
b352a97
·
verified ·
1 Parent(s): e6c8f7e

Update content_gen.py

Browse files
Files changed (1) hide show
  1. content_gen.py +3 -2
content_gen.py CHANGED
@@ -18,8 +18,9 @@ class ContentGenerator:
18
 
19
  def __init__(self, config: Dict[str, Any]):
20
  self.config = config
21
- # Default to qwen3.6-plus as requested
22
- self.llm_model = config.get("llm_model", "qwen3.6-plus")
 
23
  # DashScope API key provided by user
24
  self.dashscope_api_key = "sk-ws-H.HRRIYI.hUUL.MEUCIQDv1QpE1B2xqwrl2OUSt1o7XbluYkzzaW1sCkp_FMCrewIgSbClEsN--mLhn2JAWt5kyrmaX30grEhaAGcav2TeLS0"
25
  self.api_url = self.DASHSCOPE_API_URL
 
18
 
19
  def __init__(self, config: Dict[str, Any]):
20
  self.config = config
21
+ # ENFORCE qwen3.6-plus to avoid 404 errors from outdated config values
22
+ self.llm_model = "qwen3.6-plus"
23
+
24
  # DashScope API key provided by user
25
  self.dashscope_api_key = "sk-ws-H.HRRIYI.hUUL.MEUCIQDv1QpE1B2xqwrl2OUSt1o7XbluYkzzaW1sCkp_FMCrewIgSbClEsN--mLhn2JAWt5kyrmaX30grEhaAGcav2TeLS0"
26
  self.api_url = self.DASHSCOPE_API_URL