Fix bug in how tokens are counted when using the streaming generateContent method. (#4152). Add gen_ai.tool.definitions attribute to gen_ai.client.inference.operation.details log event (#4142). Add gen_ai.tool_definitions to completion hook (#4181)