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

@ -19,7 +19,7 @@
"content": "",
"tool_calls": [
{
"id": "call_qvp9u80l",
"id": "toolcall-f6a1cb47-0",
"type": "function",
"function": {
"name": "greet_everyone",
@ -30,7 +30,7 @@
},
{
"role": "tool",
"tool_call_id": "call_qvp9u80l",
"tool_call_id": "toolcall-f6a1cb47-0",
"content": [
{
"type": "text",
@ -105,7 +105,7 @@
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "chatcmpl-827",
"id": "rec-f6a1cb47dfe8",
"choices": [
{
"delta": {
@ -116,7 +116,7 @@
"tool_calls": [
{
"index": 0,
"id": "call_y1jmdav5",
"id": "toolcall-f6a1cb47-0",
"function": {
"arguments": "{\"celsius\":\"false\",\"liquid_name\":\"polyjuice\"}",
"name": "get_boiling_point"
@ -130,7 +130,7 @@
"logprobs": null
}
],
"created": 1759437847,
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,
@ -141,7 +141,7 @@
{
"__type__": "openai.types.chat.chat_completion_chunk.ChatCompletionChunk",
"__data__": {
"id": "chatcmpl-827",
"id": "rec-f6a1cb47dfe8",
"choices": [
{
"delta": {
@ -156,7 +156,7 @@
"logprobs": null
}
],
"created": 1759437848,
"created": 0,
"model": "llama3.2:3b-instruct-fp16",
"object": "chat.completion.chunk",
"service_tier": null,