Luca Frigato
Luca Frigato
Hi @ezequiel88, You can capture token usage from the API using a custom plugin approach. I've published a working implementation here: **https://github.com/FrigaZzz/custom-docling-plugins** The plugin extends Docling's image describer to intercept...
Example usage PR submitted: google/adk-python#2967
> @FrigaZzz my proposal is to simplify even further and add this directly to the current class. Do you see any issue with it? > > @cau-git any other thought?...
> All correct. I initially missed that the usage is going in the docling-core `DescriptionAnnotation` class. Given that, I still think it is worth to simplify and just have one...
@dolfim-ibm @vagenas Yea, absolutely! I will take a look into this in the evening. I'll ping here once the new commits are pushed."
@dolfim-ibm @vagenas @c-vongpaseut The PR has now been completed and updated for the latest version of the codebase. As discussed earlier, I leveraged the `metadata` field to expose the API...
Hi, I had the same problem, **but it’s not an issue with the adk library itself.** Check which API version you’re setting in your model configuration—LiteLLM doesn’t configure structured outputs...
Hi, I had the same problem, **but it’s not an issue with the adk library itself.** Check which API version you’re setting in your model configuration—LiteLLM doesn’t configure structured outputs...
I’ve added a compatible Base LLM implementation to handle this as part of the PR: https://github.com/google/adk-python/pull/5888
> Hi [@FrigaZzz](https://github.com/FrigaZzz), thank you for the feature request. If you have a solution in mind, please feel free to submit a PR; our team would be happy to review...