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

* Fix Mistral
This commit is contained in:
cybermaggedon 2025-05-06 16:17:16 +01:00 committed by GitHub
parent 54e475fa3a
commit d0da122bed
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 25 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)