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