数据导入分析接口调整

This commit is contained in:
zhaoawd
2025-10-30 22:38:05 +08:00
parent 39911d78ab
commit 455b884551
6 changed files with 141 additions and 29 deletions

View File

@ -36,14 +36,13 @@ async def main() -> None:
},
"llm_model": "deepseek:deepseek-chat",
"temperature": 0.2,
"max_output_tokens": 256,
"callback_url": CALLBACK_URL,
}
async with httpx.AsyncClient(timeout=httpx.Timeout(15.0)) as client:
async with httpx.AsyncClient(timeout=httpx.Timeout(60.0)) as client:
response = await client.post(API_URL, json=payload)
print("Status:", response.status_code)
print("Body:", response.json())
if __name__ == "__main__":

View File

@ -35,7 +35,7 @@ async def main() -> None:
}
],
"temperature": 0.1,
"max_tokens": 1024,
"max_tokens": 2048,
}
async with httpx.AsyncClient(timeout=httpx.Timeout(15.0)) as client: