lavague-ai / LaVague

Large Action Model framework to develop AI Web Agents
https://docs.lavague.ai/en/latest/
Apache License 2.0
5.29k stars 471 forks source link

Add in the logger token consumption #273

Closed dhuynh95 closed 3 months ago

dhuynh95 commented 3 months ago

We now have a logger with df = agent.logger.return_pandas()

It does not log yet the amount of tokens consumed by the llm and mm_llm. It could be good to record these for people to reduce their consumption on OpenAI ^^

I guess we could use observability tooling from llama_index as we are leveraging their wrappers.

lyie28 commented 3 months ago

Duplicated by issue #355