mirror of
https://github.com/trustgraph-ai/trustgraph.git
synced 2026-04-27 09:26:22 +02:00
Remove log cruft (#398)
This commit is contained in:
parent
4ffb677488
commit
8120cfa803
1 changed files with 0 additions and 6 deletions
|
|
@ -77,16 +77,10 @@ class Processor(LlmService):
|
|||
json=request,
|
||||
) as response:
|
||||
|
||||
print("GOT A SRESPONSE")
|
||||
|
||||
if response.status != 200:
|
||||
raise RuntimeError("Bad status: " + str(response.status))
|
||||
|
||||
print("GOT A GOOD STATUS")
|
||||
|
||||
resp = await response.json()
|
||||
|
||||
print("RESPONSE>", resp)
|
||||
|
||||
inputtokens = resp["usage"]["prompt_tokens"]
|
||||
outputtokens = resp["usage"]["completion_tokens"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue