fix: graph API 用 localhost:9092(无外网端口)
This commit is contained in:
parent
239b82c85d
commit
3458af766c
@ -45,7 +45,7 @@ async with get_sor_context(env, 'rag') as sor:
|
|||||||
try:
|
try:
|
||||||
client2 = StreamHttpClient()
|
client2 = StreamHttpClient()
|
||||||
await client2.request('POST',
|
await client2.request('POST',
|
||||||
'https://graph.opencomputing.net:10443/api/graph/delete',
|
'http://localhost:9092/api/graph/delete',
|
||||||
json={"graph": kb_id})
|
json={"graph": kb_id})
|
||||||
deleted["graph"] = 1
|
deleted["graph"] = 1
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user