Add platform config website_url, admin tab, fix writer DB config fallback, add trigger endpoints
This commit is contained in:
@@ -120,7 +120,7 @@ def generate_new_topics(gaps: List[Dict]) -> List[Dict]:
|
||||
|
||||
只输出 JSON 数组,不要其他文字。"""
|
||||
try:
|
||||
resp = call_llm(prompt, temperature=0.4, max_tokens=2000)
|
||||
resp = call_llm(prompt, temperature=0.4)
|
||||
resp = resp.strip()
|
||||
if resp.startswith("```"):
|
||||
resp = resp.split("\n", 1)[1].rsplit("\n", 1)[0]
|
||||
|
||||
Reference in New Issue
Block a user