Skip to content

Commit 9e9687d

Browse files
github-actions[bot]derekhiggins
authored andcommitted
Recordings update from CI (ollama)
1 parent d1a46a7 commit 9e9687d

27 files changed

+941
-2408
lines changed
4 KB
Binary file not shown.
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"request": {
3+
"method": "POST",
4+
"url": "http://0.0.0.0:11434/v1/v1/chat/completions",
5+
"headers": {},
6+
"body": {
7+
"model": "llama3.2:3b-instruct-fp16",
8+
"messages": [
9+
{
10+
"role": "user",
11+
"content": "Which planet do humans live on, starting with letter E?"
12+
}
13+
],
14+
"stream": false
15+
},
16+
"endpoint": "/v1/chat/completions",
17+
"model": "llama3.2:3b-instruct-fp16"
18+
},
19+
"response": {
20+
"body": {
21+
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
22+
"__data__": {
23+
"id": "chatcmpl-120",
24+
"choices": [
25+
{
26+
"finish_reason": "stop",
27+
"index": 0,
28+
"logprobs": null,
29+
"message": {
30+
"content": "To answer your question, there is no planet in our solar system that starts with the letter E. The planets in our solar system, listed in order of their distance from the Sun, are:\n\n1. Mercury\n2. Venus\n3. Earth (your home planet!)\n4. Mars\n5. Jupiter\n6. Saturn\n7. Uranus\n8. Neptune\n\nSo, while humans do live on our planet \"Earth\", it doesn't start with the letter E.",
31+
"refusal": null,
32+
"role": "assistant",
33+
"annotations": null,
34+
"audio": null,
35+
"function_call": null,
36+
"tool_calls": null
37+
}
38+
}
39+
],
40+
"created": 1756115034,
41+
"model": "llama3.2:3b-instruct-fp16",
42+
"object": "chat.completion",
43+
"service_tier": null,
44+
"system_fingerprint": "fp_ollama",
45+
"usage": {
46+
"completion_tokens": 98,
47+
"prompt_tokens": 37,
48+
"total_tokens": 135,
49+
"completion_tokens_details": null,
50+
"prompt_tokens_details": null
51+
}
52+
}
53+
},
54+
"is_streaming": false
55+
}
56+
}

tests/integration/recordings/responses/0e8f2b001dd9.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"request": {
33
"method": "POST",
4-
"url": "http://localhost:11434/v1/v1/chat/completions",
4+
"url": "http://0.0.0.0:11434/v1/v1/chat/completions",
55
"headers": {},
66
"body": {
77
"model": "llama3.2:3b-instruct-fp16",
@@ -20,14 +20,14 @@
2020
"body": {
2121
"__type__": "openai.types.chat.chat_completion.ChatCompletion",
2222
"__data__": {
23-
"id": "chatcmpl-368",
23+
"id": "chatcmpl-236",
2424
"choices": [
2525
{
2626
"finish_reason": "stop",
2727
"index": 0,
2828
"logprobs": null,
2929
"message": {
30-
"content": "Saturn is known for its extensive ring system.",
30+
"content": "The Saturn is the one. It was previously known as the seventh largest planet in our solar system because Uranus passed before Saturn in March of 1781, and astronomers thought Jupiter's orbit was irregular.",
3131
"refusal": null,
3232
"role": "assistant",
3333
"annotations": null,
@@ -37,15 +37,15 @@
3737
}
3838
}
3939
],
40-
"created": 1754081853,
40+
"created": 1756115068,
4141
"model": "llama3.2:3b-instruct-fp16",
4242
"object": "chat.completion",
4343
"service_tier": null,
4444
"system_fingerprint": "fp_ollama",
4545
"usage": {
46-
"completion_tokens": 11,
46+
"completion_tokens": 43,
4747
"prompt_tokens": 39,
48-
"total_tokens": 50,
48+
"total_tokens": 82,
4949
"completion_tokens_details": null,
5050
"prompt_tokens_details": null
5151
}
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
{
2+
"request": {
3+
"method": "POST",
4+
"url": "http://localhost:11434/api/generate",
5+
"headers": {},
6+
"body": {
7+
"model": "llama3.2:3b-instruct-fp16",
8+
"raw": true,
9+
"prompt": "<|begin_of_text|><|start_header_id|>system<|end_header_id|>\n\n<|eot_id|><|start_header_id|>user<|end_header_id|>\n\nWhich planet do humans live on, starting with letter E?<|eot_id|><|start_header_id|>assistant<|end_header_id|>\n\n",
10+
"options": {
11+
"temperature": 0.0
12+
},
13+
"stream": false
14+
},
15+
"endpoint": "/api/generate",
16+
"model": "llama3.2:3b-instruct-fp16"
17+
},
18+
"response": {
19+
"body": {
20+
"__type__": "ollama._types.GenerateResponse",
21+
"__data__": {
22+
"model": "llama3.2:3b-instruct-fp16",
23+
"created_at": "2025-08-25T09:38:53.240866571Z",
24+
"done": true,
25+
"done_reason": "stop",
26+
"total_duration": 3679426578,
27+
"load_duration": 42971649,
28+
"prompt_eval_count": 28,
29+
"prompt_eval_duration": 2204517984,
30+
"eval_count": 9,
31+
"eval_duration": 1431391234,
32+
"response": "Earth is the planet where humans live.",
33+
"thinking": null,
34+
"context": null
35+
}
36+
},
37+
"is_streaming": false
38+
}
39+
}

tests/integration/recordings/responses/1b8394f90636.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,15 +22,15 @@
2222
"__type__": "ollama._types.GenerateResponse",
2323
"__data__": {
2424
"model": "llama3.2:3b-instruct-fp16",
25-
"created_at": "2025-08-04T22:55:05.685988Z",
25+
"created_at": "2025-08-25T09:38:25.788505963Z",
2626
"done": true,
2727
"done_reason": "stop",
28-
"total_duration": 14128980625,
29-
"load_duration": 7220159208,
28+
"total_duration": 8989248428,
29+
"load_duration": 61985222,
3030
"prompt_eval_count": 18,
31-
"prompt_eval_duration": 4658000000,
31+
"prompt_eval_duration": 1464991572,
3232
"eval_count": 43,
33-
"eval_duration": 2224000000,
33+
"eval_duration": 7461741388,
3434
"response": " _______.\n\nThe best answer is blue. The traditional nursery rhyme goes like this:\n\nRoses are red,\nViolets are blue,\nSugar is sweet,\nAnd so are you! (Or something similar.)",
3535
"thinking": null,
3636
"context": null

0 commit comments

Comments
 (0)