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.
.
Also “Usage” output doesn’t work - there is Null constantly.
Please, explain how can I use OpenAI kit without token losses