fix: graph API 用 localhost:9092(无外网端口)

This commit is contained in:
ymq 2026-08-11 17:04:31 +08:00
parent 239b82c85d
commit 3458af766c

View File

@ -45,7 +45,7 @@ async with get_sor_context(env, 'rag') as sor:
try:
client2 = StreamHttpClient()
await client2.request('POST',
'https://graph.opencomputing.net:10443/api/graph/delete',
'http://localhost:9092/api/graph/delete',
json={"graph": kb_id})
deleted["graph"] = 1
except Exception as e: