Lack of token control functions for working with OpenAI

There is need to build long dialogs with OpenAI Assistant.
Now it works through Creating Run and message analysis after. It’s necessary to control tokens amount, but there isn’t any input like “max_token” on the Run and Thread blocks. Limiting by text in message body doesn’t help.
Снимок экрана 2024-06-25 в 14.06.38
Снимок экрана 2024-06-25 в 14.05.49
.


Also “Usage” output doesn’t work - there is Null constantly.

Please, explain how can I use OpenAI kit without token losses

Added token restrictions in Run token
Fixed an error with Metadata