Go: fix context (#17277)

### Summary

Continue to add context

---------

Signed-off-by: Jin Hai <haijin.chn@gmail.com>
This commit is contained in:
Jin Hai
2026-07-23 21:48:54 +08:00
committed by GitHub
parent 08e5d9c6be
commit 61201e437d
55 changed files with 725 additions and 642 deletions

View File

@@ -691,9 +691,9 @@ class RAGFlowClient:
if res_json["code"] == 0:
print(res_json["data"])
else:
print(f"Fail to show license, code: {res_json['code']}, message: {res_json['message']}")
print(f"Invalid, code: {res_json['code']}, message: {res_json['data']}")
else:
print(f"Fail to show license, code: {response.status_code}, body: {response.text}")
print(f"Fail to check license, code: {response.status_code}, body: {response.text}")
def list_server_configs(self, command):
"""List server configs by calling /system/configs API and flattening the JSON response."""