mirror of https://github.com/kortix-ai/suna.git
"cost"
This commit is contained in:
parent
eb8eb288b2
commit
2ed6a1a4a1
|
@ -552,6 +552,7 @@ class ResponseProcessor:
|
|||
yield {"type": "error", "message": str(e)}
|
||||
|
||||
finally:
|
||||
pass
|
||||
# track the cost and token count
|
||||
# todo: there is a bug as it adds every chunk to db because finally will run every time even in yield
|
||||
# await self.add_message(
|
||||
|
|
Loading…
Reference in New Issue