docs: poetry publish 2 (#28277)

- **docs: poetry publish**
- **x**
- **x**
- **x**
- **x**
- **x**
- **x**
- **x**
- **x**
- **x**
This commit is contained in:
Erick Friis
2024-11-21 20:49:38 -08:00
committed by GitHub
parent 4ccb3e64c7
commit 9a717c9b32
8 changed files with 407 additions and 173 deletions

View File

@@ -493,9 +493,13 @@ class ChatModelIntegrationTests(ChatModelTests):
message=AIMessage(
content="Output text",
usage_metadata={
"input_tokens": 0,
"output_tokens": 240,
"total_tokens": 590,
"input_tokens": (
num_input_tokens if is_first_chunk else 0
),
"output_tokens": 11,
"total_tokens": (
11+num_input_tokens if is_first_chunk else 11
),
"input_token_details": {
"audio": 10,
"cache_creation": 200,