Fix LMStudio, cache documents with tg-load-sample-documents

This commit is contained in:
Cyber MacGeddon 2025-05-06 16:03:45 +01:00
parent 54e475fa3a
commit ca44894b44
4 changed files with 21 additions and 7 deletions

View file

@ -14,7 +14,7 @@ default_url = os.getenv("TRUSTGRAPH_URL", 'http://localhost:8088/')
def query(url, flow_id, system, prompt):
api = Api(url).flow().id(flow_id).
api = Api(url).flow().id(flow_id)
resp = api.text_completion(system=system, prompt=prompt)