chore(tests): normalize recording IDs and timestamps to reduce git diff noise

IDs are now deterministic hashes based on request content, and timestamps are normalized to constants, eliminating spurious changes when re-recording tests.
This commit is contained in:
Ashwin Bharambe 2025-10-03 13:54:49 -07:00
parent 61b4238912
commit 6f1afabcdc
348 changed files with 10358 additions and 8474 deletions

View file

@ -38,7 +38,7 @@
"body": {
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
"__data__": {
"id": "chatcmpl_e54eaa97-ace3-4af6-b3a2-b1627bc77488",
"id": "rec-7f53b458dad9",
"choices": [
{
"finish_reason": "tool_calls",
@ -53,7 +53,7 @@
"function_call": null,
"tool_calls": [
{
"id": "call_9c7f9e5f-c6eb-4c3c-a7b3-e9fe0e786b50",
"id": "toolcall-7f53b458-0",
"function": {
"arguments": "{ \"city\": \"Tokyo\" }",
"name": "get_weather"
@ -64,7 +64,7 @@
}
}
],
"created": 1758326507,
"created": 0,
"model": "meta-llama-3.3-70b-instruct-121024",
"object": "chat.completion",
"service_tier": null,