Commit 1f2dcf0

mo khan <mo@mokhan.ca>
2025-12-23 22:38:55
test: clean up fixture files
1 parent bbe0419
Changed files (5)
spec
fixtures
Net_Llm_Ollama
_chat
without_streaming
_embeddings
POST_
_show
POST_
_tags
GET_
spec/fixtures/Net_Llm_Ollama/_chat/without_streaming/POST_/api/chat.yml
@@ -11,10 +11,6 @@ http_interactions:
       - application/json
       Content-Type:
       - application/json
-      User-Agent:
-      - net/hippie 1.4.0
-      Accept-Encoding:
-      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
       Host:
       - localhost:11434
   response:
@@ -24,14 +20,8 @@ http_interactions:
     headers:
       Content-Type:
       - application/json; charset=utf-8
-      Date:
-      - Mon, 22 Dec 2025 21:36:09 GMT
-      Content-Length:
-      - '396'
     body:
       encoding: UTF-8
-      string: '{"model":"gpt-oss","created_at":"2025-12-22T21:36:09.593281105Z","message":{"role":"assistant","content":"Hello!
-        How can I help you today?","thinking":"We need to respond politely. Possibly
-        ask how can help."},"done":true,"done_reason":"stop","total_duration":5589605509,"load_duration":4702897658,"prompt_eval_count":68,"prompt_eval_duration":208033418,"eval_count":31,"eval_duration":644637313}'
+      string: '{"model":"gpt-oss","created_at":"2025-12-22T21:36:09.593281105Z","message":{"role":"assistant","content":"Hello! How can I help you today?","thinking":"We need to respond politely. Possibly ask how can help."},"done":true,"done_reason":"stop","total_duration":5589605509,"load_duration":4702897658,"prompt_eval_count":68,"prompt_eval_duration":208033418,"eval_count":31,"eval_duration":644637313}'
   recorded_at: Mon, 22 Dec 2025 21:36:09 GMT
 recorded_with: VCR 6.3.1
spec/fixtures/Net_Llm_Ollama/_chat/without_streaming/POST_/api/chat_with_tools.yml
@@ -5,9 +5,7 @@ http_interactions:
     uri: http://localhost:11434/api/chat
     body:
       encoding: UTF-8
-      string: '{"model":"gpt-oss","messages":[{"role":"user","content":"What is the
-        weather for New York city?"}],"stream":false,"tools":[{"type":"function","function":{"name":"get_weather","description":"Get
-        weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]}}}]}'
+      string: '{"model":"gpt-oss","messages":[{"role":"user","content":"What is the weather for New York city?"}],"stream":false,"tools":[{"type":"function","function":{"name":"get_weather","description":"Get weather for a city","parameters":{"type":"object","properties":{"city":{"type":"string"}},"required":["city"]}}}]}'
     headers:
       Accept:
       - application/json
@@ -32,8 +30,6 @@ http_interactions:
       - '487'
     body:
       encoding: UTF-8
-      string: '{"model":"gpt-oss","created_at":"2025-12-22T21:36:10.770832921Z","message":{"role":"assistant","content":"","thinking":"User
-        asks for weather in New York city. We can call get_weather.","tool_calls":[{"id":"call_z382j2c3","function":{"index":0,"name":"get_weather","arguments":{"city":"New
-        York"}}}]},"done":true,"done_reason":"stop","total_duration":1164651836,"load_duration":110344449,"prompt_eval_count":129,"prompt_eval_duration":202077717,"eval_count":40,"eval_duration":839497744}'
+      string: '{"model":"gpt-oss","created_at":"2025-12-22T21:36:10.770832921Z","message":{"role":"assistant","content":"","thinking":"User asks for weather in New York city. We can call get_weather.","tool_calls":[{"id":"call_z382j2c3","function":{"index":0,"name":"get_weather","arguments":{"city":"New York"}}}]},"done":true,"done_reason":"stop","total_duration":1164651836,"load_duration":110344449,"prompt_eval_count":129,"prompt_eval_duration":202077717,"eval_count":40,"eval_duration":839497744}'
   recorded_at: Mon, 22 Dec 2025 21:36:10 GMT
 recorded_with: VCR 6.3.1
spec/fixtures/Net_Llm_Ollama/_embeddings/POST_/api/embed.yml
@@ -11,10 +11,6 @@ http_interactions:
       - application/json
       Content-Type:
       - application/json
-      User-Agent:
-      - net/hippie 1.4.0
-      Accept-Encoding:
-      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
       Host:
       - localhost:11434
   response:
@@ -24,10 +20,6 @@ http_interactions:
     headers:
       Content-Type:
       - application/json; charset=utf-8
-      Date:
-      - Mon, 22 Dec 2025 21:36:10 GMT
-      Content-Length:
-      - '50'
     body:
       encoding: UTF-8
       string: '{"error":"this model does not support embeddings"}'
spec/fixtures/Net_Llm_Ollama/_show/POST_/api/show.yml
@@ -11,10 +11,6 @@ http_interactions:
       - application/json
       Content-Type:
       - application/json
-      User-Agent:
-      - net/hippie 1.4.0
-      Accept-Encoding:
-      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
       Host:
       - localhost:11434
   response:
@@ -24,8 +20,6 @@ http_interactions:
     headers:
       Content-Type:
       - application/json; charset=utf-8
-      Date:
-      - Mon, 22 Dec 2025 21:36:10 GMT
       Transfer-Encoding:
       - chunked
     body:
spec/fixtures/Net_Llm_Ollama/_tags/GET_/api/tags.yml
@@ -11,10 +11,6 @@ http_interactions:
       - application/json
       Content-Type:
       - application/json
-      User-Agent:
-      - net/hippie 1.4.0
-      Accept-Encoding:
-      - gzip;q=1.0,deflate;q=0.6,identity;q=0.3
       Host:
       - localhost:11434
   response:
@@ -24,8 +20,6 @@ http_interactions:
     headers:
       Content-Type:
       - application/json; charset=utf-8
-      Date:
-      - Tue, 23 Dec 2025 18:49:13 GMT
       Transfer-Encoding:
       - chunked
     body: