ruby_llm-providers-synap402 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.flayignore +1 -0
- data/.github/workflows/ci.yml +28 -0
- data/.github/workflows/gitleaks.yml +22 -0
- data/.github/workflows/release.yml +36 -0
- data/.overcommit.yml +31 -0
- data/.rspec +2 -0
- data/.rubocop.yml +29 -0
- data/Archspec.rb +14 -0
- data/LICENSE +21 -0
- data/README.md +69 -0
- data/lib/ruby_llm/providers/synap402/models.rb +109 -0
- data/lib/ruby_llm/providers/synap402.rb +41 -0
- data/models.json +986 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_can_handle_a_multi_turn_conversation.yml +172 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_can_have_a_basic_conversation.yml +80 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_returns_the_raw_response.yml +81 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_supports_streaming_responses.yml +206 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_qwen3_coder_30b_can_use_tools.yml +160 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_qwen3_coder_30b_returns_structured_output.yml +80 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_embedding_synap402_qwen3_embedding_0_6b_embeds_one_text.yml +75 -0
- data/spec/fixtures/vcr_cassettes/rubyllm_embedding_synap402_qwen3_embedding_0_6b_embeds_several_texts.yml +74 -0
- data/spec/ruby_llm/chat_schema_spec.rb +30 -0
- data/spec/ruby_llm/chat_spec.rb +34 -0
- data/spec/ruby_llm/chat_streaming_spec.rb +21 -0
- data/spec/ruby_llm/chat_tools_spec.rb +33 -0
- data/spec/ruby_llm/embedding_spec.rb +49 -0
- data/spec/ruby_llm/image_spec.rb +23 -0
- data/spec/ruby_llm/models_spec.rb +11 -0
- data/spec/ruby_llm/moderation_spec.rb +22 -0
- data/spec/ruby_llm/providers/synap402_spec.rb +32 -0
- data/spec/ruby_llm/rerank_spec.rb +23 -0
- data/spec/ruby_llm/speech_spec.rb +25 -0
- data/spec/ruby_llm/video_spec.rb +27 -0
- data/spec/spec_helper.rb +26 -0
- data/spec/support/models.rb +24 -0
- data/spec/support/rubyllm_configuration.rb +14 -0
- data/spec/support/vcr_configuration.rb +16 -0
- metadata +108 -0
|
@@ -0,0 +1,172 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: "<SYNAP402_API_BASE>/chat/completions"
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"model":"gpt-oss-20b","messages":[{"role":"user","content":"Who created
|
|
9
|
+
the programming language Ruby?"}],"stream":false}'
|
|
10
|
+
headers:
|
|
11
|
+
User-Agent:
|
|
12
|
+
- Faraday v2.15.1
|
|
13
|
+
Authorization:
|
|
14
|
+
- Bearer <AUTH_TOKEN>
|
|
15
|
+
Content-Type:
|
|
16
|
+
- application/json
|
|
17
|
+
Accept-Encoding:
|
|
18
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
19
|
+
Accept:
|
|
20
|
+
- "*/*"
|
|
21
|
+
response:
|
|
22
|
+
status:
|
|
23
|
+
code: 200
|
|
24
|
+
message: OK
|
|
25
|
+
headers:
|
|
26
|
+
Date:
|
|
27
|
+
- Mon, 30 Nov 2026 10:57:42 GMT
|
|
28
|
+
Content-Type:
|
|
29
|
+
- application/json; charset=utf-8
|
|
30
|
+
Transfer-Encoding:
|
|
31
|
+
- chunked
|
|
32
|
+
Connection:
|
|
33
|
+
- keep-alive
|
|
34
|
+
Server:
|
|
35
|
+
- cloudflare
|
|
36
|
+
Access-Control-Allow-Origin:
|
|
37
|
+
- "*"
|
|
38
|
+
X-Ratelimit-Remaining:
|
|
39
|
+
- '56'
|
|
40
|
+
X-Ratelimit-Reset:
|
|
41
|
+
- '1796036321378'
|
|
42
|
+
X-Linkrra-Served-By:
|
|
43
|
+
- fleet
|
|
44
|
+
Etag:
|
|
45
|
+
- W/"5d7-qPuMJClk+b38vkSUGUEI50QMICg"
|
|
46
|
+
Strict-Transport-Security:
|
|
47
|
+
- max-age=31536000
|
|
48
|
+
X-Frame-Options:
|
|
49
|
+
- SAMEORIGIN
|
|
50
|
+
X-Content-Type-Options:
|
|
51
|
+
- nosniff
|
|
52
|
+
Referrer-Policy:
|
|
53
|
+
- strict-origin-when-cross-origin
|
|
54
|
+
Permissions-Policy:
|
|
55
|
+
- camera=(), microphone=(self), geolocation=()
|
|
56
|
+
Content-Security-Policy:
|
|
57
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
58
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
59
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
60
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
61
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
62
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
63
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
64
|
+
form-action ''self'' https:'
|
|
65
|
+
Cf-Cache-Status:
|
|
66
|
+
- DYNAMIC
|
|
67
|
+
Report-To:
|
|
68
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=CfnWfBkg9OqfDOo43lq7UmpnuzH7JeR0g52MJ8kpge%2FOqYpYChugsnEjXyAZBuZQ64EedvoXKouu2AFJEjIEv0FlZEAuDDtEfsjYnroSzdDPR5%2FW9YzcGWum3Tznhd7GOe6bhG9rm8ZbVaQ%3D"}]}'
|
|
69
|
+
Nel:
|
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Y3JlZGl0cyI6eyJkZWR1Y3RlZCI6NjcsInRva2VucyI6MjQzLCJyZW1haW5pbmciOjgyMDIwMzZ9fQ==
|
|
79
|
+
recorded_at: Mon, 30 Nov 2026 10:57:42 GMT
|
|
80
|
+
- request:
|
|
81
|
+
method: post
|
|
82
|
+
uri: "<SYNAP402_API_BASE>/chat/completions"
|
|
83
|
+
body:
|
|
84
|
+
encoding: UTF-8
|
|
85
|
+
string: '{"model":"gpt-oss-20b","messages":[{"role":"user","content":"Who created
|
|
86
|
+
the programming language Ruby?"},{"role":"assistant","content":"Ruby was created
|
|
87
|
+
by **Yukihiro “Matz” Matsumoto**, a Japanese programmer. He began developing
|
|
88
|
+
the language in 1995 and released the first official version (1.0) in 1998.
|
|
89
|
+
Matsumoto designed Ruby to be a powerful, yet intuitive, scripting language
|
|
90
|
+
that emphasizes developer happiness and productivity.","reasoning":"The user
|
|
91
|
+
asks: \"Who created the programming language Ruby?\" So answer: Yukihiro \"Matz\"
|
|
92
|
+
Matsumoto. Should mention he created Ruby in 1995-1998, Japanese programmer
|
|
93
|
+
Matsumoto. Also mention that Ruby was first released 1995? Actually Ruby was
|
|
94
|
+
developed by Matsumoto starting in 1995, first public version 1.0 in 1998.
|
|
95
|
+
So answer that. Probably a brief response.","reasoning_content":"The user
|
|
96
|
+
asks: \"Who created the programming language Ruby?\" So answer: Yukihiro \"Matz\"
|
|
97
|
+
Matsumoto. Should mention he created Ruby in 1995-1998, Japanese programmer
|
|
98
|
+
Matsumoto. Also mention that Ruby was first released 1995? Actually Ruby was
|
|
99
|
+
developed by Matsumoto starting in 1995, first public version 1.0 in 1998.
|
|
100
|
+
So answer that. Probably a brief response."},{"role":"user","content":"What
|
|
101
|
+
year was Ruby first released?"}],"stream":false}'
|
|
102
|
+
headers:
|
|
103
|
+
User-Agent:
|
|
104
|
+
- Faraday v2.15.1
|
|
105
|
+
Authorization:
|
|
106
|
+
- Bearer <AUTH_TOKEN>
|
|
107
|
+
Content-Type:
|
|
108
|
+
- application/json
|
|
109
|
+
Accept-Encoding:
|
|
110
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
111
|
+
Accept:
|
|
112
|
+
- "*/*"
|
|
113
|
+
response:
|
|
114
|
+
status:
|
|
115
|
+
code: 200
|
|
116
|
+
message: OK
|
|
117
|
+
headers:
|
|
118
|
+
Date:
|
|
119
|
+
- Mon, 30 Nov 2026 10:57:44 GMT
|
|
120
|
+
Content-Type:
|
|
121
|
+
- application/json; charset=utf-8
|
|
122
|
+
Transfer-Encoding:
|
|
123
|
+
- chunked
|
|
124
|
+
Connection:
|
|
125
|
+
- keep-alive
|
|
126
|
+
Server:
|
|
127
|
+
- cloudflare
|
|
128
|
+
Access-Control-Allow-Origin:
|
|
129
|
+
- "*"
|
|
130
|
+
X-Ratelimit-Remaining:
|
|
131
|
+
- '55'
|
|
132
|
+
X-Ratelimit-Reset:
|
|
133
|
+
- '1796036323162'
|
|
134
|
+
X-Linkrra-Served-By:
|
|
135
|
+
- fleet
|
|
136
|
+
Etag:
|
|
137
|
+
- W/"581-d7PcUQBPVWNDFUHIEVvZJUDd/9o"
|
|
138
|
+
Strict-Transport-Security:
|
|
139
|
+
- max-age=31536000
|
|
140
|
+
X-Frame-Options:
|
|
141
|
+
- SAMEORIGIN
|
|
142
|
+
X-Content-Type-Options:
|
|
143
|
+
- nosniff
|
|
144
|
+
Referrer-Policy:
|
|
145
|
+
- strict-origin-when-cross-origin
|
|
146
|
+
Permissions-Policy:
|
|
147
|
+
- camera=(), microphone=(self), geolocation=()
|
|
148
|
+
Content-Security-Policy:
|
|
149
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
150
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
151
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
152
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
153
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
154
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
155
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
156
|
+
form-action ''self'' https:'
|
|
157
|
+
Cf-Cache-Status:
|
|
158
|
+
- DYNAMIC
|
|
159
|
+
Report-To:
|
|
160
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=95WdXDzz0aE8IjpytIVlMSoPtiPS0Wji9jwaq9%2BM6RHU4%2FSZvqtjjGh8oX9ISmsR0sIiZKg9btfSl8l%2B5ck%2Bo7xe5CSNpn%2F%2FzjyYaduHsCd70GNvfUiwUSY0Fe26vb%2FeVKZw%2FfysezIvmt0%3D"}]}'
|
|
161
|
+
Nel:
|
|
162
|
+
- '{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'
|
|
163
|
+
Cf-Ray:
|
|
164
|
+
- a629553468b0f2ca-LHR
|
|
165
|
+
Alt-Svc:
|
|
166
|
+
- h3=":443"; ma=86400
|
|
167
|
+
body:
|
|
168
|
+
encoding: ASCII-8BIT
|
|
169
|
+
string: !binary |-
|
|
170
|
+
eyJpZCI6ImNoYXRjbXBsLTlmOTkyNWVkZTJmZmY2MjQiLCJvYmplY3QiOiJjaGF0LmNvbXBsZXRpb24iLCJjcmVhdGVkIjoxNzk2MDM2MjYzLCJtb2RlbCI6ImdwdC1vc3MtMjBiIiwiY2hvaWNlcyI6W3siaW5kZXgiOjAsIm1lc3NhZ2UiOnsicm9sZSI6ImFzc2lzdGFudCIsImNvbnRlbnQiOiJSdWJ54oCZcyBmaXJzdCBvZmZpY2lhbCByZWxlYXNl4oCUdmVyc2lvbuKArzEuMOKAlHdhcyBsYXVuY2hlZCBpbiAqKjE5OTgqKi4gVGhlIGxhbmd1YWdlIHdhcyBhY3R1YWxseSBjb25jZWl2ZWQgaW4gMTk5NSwgYnV0IHRoZSBwd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NhY2hlZF90b2tlbnMiOjY0LCJjcmVhdGVkX2NhY2hlX3Rva2VucyI6NjQsIm11bHRpbW9kYWxfdG9rZW5zIjpudWxsfSwiY29tcGxldGlvbl90b2tlbnNfZGV0YWlscyI6eyJyZWFzb25pbmdfdG9rZW5zIjoxMDN9fSwicHJvbXB0X2xvZ3Byb2JzIjpudWxsLCJwcm9tcHRfdG9rZW5faWRzIjpudWxsLCJwcm9tcHRfdGV4dCI6bnVsbCwia3ZfdHJhbnNmZXJfcGFyYW1zIjpudWxsLCJlY190cmFuc2Zlcl9wYXJhbXMiOm51bGwsIm1ldHJpY3MiOm51bGwsImNyZWRpdHMiOnsiZGVkdWN0ZWQiOjcyLCJ0b2tlbnMiOjMyNiwicmVtYWluaW5nIjo4MjAxOTY0fX0=
|
|
171
|
+
recorded_at: Mon, 30 Nov 2026 10:57:44 GMT
|
|
172
|
+
recorded_with: VCR 6.4.1
|
data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_can_have_a_basic_conversation.yml
ADDED
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: "<SYNAP402_API_BASE>/chat/completions"
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"model":"gpt-oss-20b","messages":[{"role":"user","content":"What''s
|
|
9
|
+
2 + 2?"}],"stream":false}'
|
|
10
|
+
headers:
|
|
11
|
+
User-Agent:
|
|
12
|
+
- Faraday v2.15.1
|
|
13
|
+
Authorization:
|
|
14
|
+
- Bearer <AUTH_TOKEN>
|
|
15
|
+
Content-Type:
|
|
16
|
+
- application/json
|
|
17
|
+
Accept-Encoding:
|
|
18
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
19
|
+
Accept:
|
|
20
|
+
- "*/*"
|
|
21
|
+
response:
|
|
22
|
+
status:
|
|
23
|
+
code: 200
|
|
24
|
+
message: OK
|
|
25
|
+
headers:
|
|
26
|
+
Date:
|
|
27
|
+
- Mon, 30 Nov 2026 10:57:44 GMT
|
|
28
|
+
Content-Type:
|
|
29
|
+
- application/json; charset=utf-8
|
|
30
|
+
Transfer-Encoding:
|
|
31
|
+
- chunked
|
|
32
|
+
Connection:
|
|
33
|
+
- keep-alive
|
|
34
|
+
Server:
|
|
35
|
+
- cloudflare
|
|
36
|
+
Access-Control-Allow-Origin:
|
|
37
|
+
- "*"
|
|
38
|
+
X-Ratelimit-Remaining:
|
|
39
|
+
- '54'
|
|
40
|
+
X-Ratelimit-Reset:
|
|
41
|
+
- '1796036324553'
|
|
42
|
+
X-Linkrra-Served-By:
|
|
43
|
+
- fleet
|
|
44
|
+
Etag:
|
|
45
|
+
- W/"36a-aPcAFCtuAv/Fj1AGIkIm9JqCJtc"
|
|
46
|
+
Strict-Transport-Security:
|
|
47
|
+
- max-age=31536000
|
|
48
|
+
X-Frame-Options:
|
|
49
|
+
- SAMEORIGIN
|
|
50
|
+
X-Content-Type-Options:
|
|
51
|
+
- nosniff
|
|
52
|
+
Referrer-Policy:
|
|
53
|
+
- strict-origin-when-cross-origin
|
|
54
|
+
Permissions-Policy:
|
|
55
|
+
- camera=(), microphone=(self), geolocation=()
|
|
56
|
+
Content-Security-Policy:
|
|
57
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
58
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
59
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
60
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
61
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
62
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
63
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
64
|
+
form-action ''self'' https:'
|
|
65
|
+
Cf-Cache-Status:
|
|
66
|
+
- DYNAMIC
|
|
67
|
+
Report-To:
|
|
68
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=fbkaGSVr%2FQJK5mjAfOJirVY%2FNK0aqupod4zVOctUITOw1FW8CWDtHEiVNSKx7tivypRdVeI2KBeDvok8iW7Ah5OyiBNZ3C73KeTtSey%2FpLllWU%2B4lkrGxNJmRqE%2FRU4vLfNTp3vQYLo%2BZGY%3D"}]}'
|
|
69
|
+
Nel:
|
|
70
|
+
- '{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'
|
|
71
|
+
Cf-Ray:
|
|
72
|
+
- a629553d4c0762fd-LHR
|
|
73
|
+
Alt-Svc:
|
|
74
|
+
- h3=":443"; ma=86400
|
|
75
|
+
body:
|
|
76
|
+
encoding: ASCII-8BIT
|
|
77
|
+
string: '{"id":"chatcmpl-a5b6e48a4fb431e4","object":"chat.completion","created":1796036264,"model":"gpt-oss-20b","choices":[{"index":0,"message":{"role":"assistant","content":"4","refusal":null,"audio":null,"function_call":null,"reasoning":"User
|
|
78
|
+
asks for simple math: 2 + 2. Answer 4."},"logprobs":null,"finish_reason":"stop","stop_reason":null,"token_ids":null,"routed_experts":null,"weight_versions":null}],"service_tier":null,"system_fingerprint":"vllm-0.34.0-f3e599dc","usage":{"prompt_tokens":74,"total_tokens":101,"completion_tokens":27,"prompt_tokens_details":{"cached_tokens":64,"created_cache_tokens":0,"multimodal_tokens":null},"completion_tokens_details":{"reasoning_tokens":16}},"prompt_logprobs":null,"prompt_token_ids":null,"prompt_text":null,"kv_transfer_params":null,"ec_transfer_params":null,"metrics":null,"credits":{"deducted":14,"tokens":101,"remaining":8201950}}'
|
|
79
|
+
recorded_at: Mon, 30 Nov 2026 10:57:44 GMT
|
|
80
|
+
recorded_with: VCR 6.4.1
|
data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_returns_the_raw_response.yml
ADDED
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: "<SYNAP402_API_BASE>/chat/completions"
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"model":"gpt-oss-20b","messages":[{"role":"user","content":"What is
|
|
9
|
+
the capital of France?"}],"stream":false}'
|
|
10
|
+
headers:
|
|
11
|
+
User-Agent:
|
|
12
|
+
- Faraday v2.15.1
|
|
13
|
+
Authorization:
|
|
14
|
+
- Bearer <AUTH_TOKEN>
|
|
15
|
+
Content-Type:
|
|
16
|
+
- application/json
|
|
17
|
+
Accept-Encoding:
|
|
18
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
19
|
+
Accept:
|
|
20
|
+
- "*/*"
|
|
21
|
+
response:
|
|
22
|
+
status:
|
|
23
|
+
code: 200
|
|
24
|
+
message: OK
|
|
25
|
+
headers:
|
|
26
|
+
Date:
|
|
27
|
+
- Mon, 30 Nov 2026 10:57:45 GMT
|
|
28
|
+
Content-Type:
|
|
29
|
+
- application/json; charset=utf-8
|
|
30
|
+
Transfer-Encoding:
|
|
31
|
+
- chunked
|
|
32
|
+
Connection:
|
|
33
|
+
- keep-alive
|
|
34
|
+
Server:
|
|
35
|
+
- cloudflare
|
|
36
|
+
Access-Control-Allow-Origin:
|
|
37
|
+
- "*"
|
|
38
|
+
X-Ratelimit-Remaining:
|
|
39
|
+
- '53'
|
|
40
|
+
X-Ratelimit-Reset:
|
|
41
|
+
- '1796036325298'
|
|
42
|
+
X-Linkrra-Served-By:
|
|
43
|
+
- fleet
|
|
44
|
+
Etag:
|
|
45
|
+
- W/"3c6-eMZY+uAbwbA0xrLoTxgubAqf6+4"
|
|
46
|
+
Strict-Transport-Security:
|
|
47
|
+
- max-age=31536000
|
|
48
|
+
X-Frame-Options:
|
|
49
|
+
- SAMEORIGIN
|
|
50
|
+
X-Content-Type-Options:
|
|
51
|
+
- nosniff
|
|
52
|
+
Referrer-Policy:
|
|
53
|
+
- strict-origin-when-cross-origin
|
|
54
|
+
Permissions-Policy:
|
|
55
|
+
- camera=(), microphone=(self), geolocation=()
|
|
56
|
+
Content-Security-Policy:
|
|
57
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
58
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
59
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
60
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
61
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
62
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
63
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
64
|
+
form-action ''self'' https:'
|
|
65
|
+
Cf-Cache-Status:
|
|
66
|
+
- DYNAMIC
|
|
67
|
+
Report-To:
|
|
68
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=Zwj3Tno7OWQHdle7kxd8fpsuetugfIJ7NiqHwXUEkSv%2FWxZ%2Bk9t8jkwIhTIPTxieq0kJpWjHPzjzGiH3svprMVU0FNVlcycPUuFjR5aemR%2FaaVhAZ%2BKCnQHfpvc3R2C0HwZ5eG5Q4G7tk6o%3D"}]}'
|
|
69
|
+
Nel:
|
|
70
|
+
- '{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'
|
|
71
|
+
Cf-Ray:
|
|
72
|
+
- a62955419b68a2f4-LHR
|
|
73
|
+
Alt-Svc:
|
|
74
|
+
- h3=":443"; ma=86400
|
|
75
|
+
body:
|
|
76
|
+
encoding: ASCII-8BIT
|
|
77
|
+
string: '{"id":"chatcmpl-9844a992b1212067","object":"chat.completion","created":1796036265,"model":"gpt-oss-20b","choices":[{"index":0,"message":{"role":"assistant","content":"Paris.","refusal":null,"audio":null,"function_call":null,"reasoning":"We
|
|
78
|
+
are asked: \"What is the capital of France?\" The answer: Paris. Probably
|
|
79
|
+
just respond with \"Paris.\" No need for explanation."},"logprobs":null,"finish_reason":"stop","stop_reason":null,"token_ids":null,"routed_experts":null,"weight_versions":null}],"service_tier":null,"system_fingerprint":"vllm-0.34.0-f3e599dc","usage":{"prompt_tokens":74,"total_tokens":115,"completion_tokens":41,"prompt_tokens_details":{"cached_tokens":64,"created_cache_tokens":0,"multimodal_tokens":null},"completion_tokens_details":{"reasoning_tokens":29}},"prompt_logprobs":null,"prompt_token_ids":null,"prompt_text":null,"kv_transfer_params":null,"ec_transfer_params":null,"metrics":null,"credits":{"deducted":19,"tokens":115,"remaining":8201931}}'
|
|
80
|
+
recorded_at: Mon, 30 Nov 2026 10:57:45 GMT
|
|
81
|
+
recorded_with: VCR 6.4.1
|
data/spec/fixtures/vcr_cassettes/rubyllm_chat_synap402_gpt_oss_20b_supports_streaming_responses.yml
ADDED
|
@@ -0,0 +1,206 @@
|
|
|
1
|
+
---
|
|
2
|
+
http_interactions:
|
|
3
|
+
- request:
|
|
4
|
+
method: post
|
|
5
|
+
uri: "<SYNAP402_API_BASE>/chat/completions"
|
|
6
|
+
body:
|
|
7
|
+
encoding: UTF-8
|
|
8
|
+
string: '{"model":"gpt-oss-20b","messages":[{"role":"user","content":"Count
|
|
9
|
+
from 1 to 3"}],"stream":true,"stream_options":{"include_usage":true}}'
|
|
10
|
+
headers:
|
|
11
|
+
User-Agent:
|
|
12
|
+
- Faraday v2.15.1
|
|
13
|
+
Authorization:
|
|
14
|
+
- Bearer <AUTH_TOKEN>
|
|
15
|
+
Content-Type:
|
|
16
|
+
- application/json
|
|
17
|
+
Accept-Encoding:
|
|
18
|
+
- gzip;q=1.0,deflate;q=0.6,identity;q=0.3
|
|
19
|
+
Accept:
|
|
20
|
+
- "*/*"
|
|
21
|
+
response:
|
|
22
|
+
status:
|
|
23
|
+
code: 200
|
|
24
|
+
message: OK
|
|
25
|
+
headers:
|
|
26
|
+
Date:
|
|
27
|
+
- Mon, 30 Nov 2026 10:57:46 GMT
|
|
28
|
+
Content-Type:
|
|
29
|
+
- text/event-stream
|
|
30
|
+
Transfer-Encoding:
|
|
31
|
+
- chunked
|
|
32
|
+
Connection:
|
|
33
|
+
- keep-alive
|
|
34
|
+
Server:
|
|
35
|
+
- cloudflare
|
|
36
|
+
Access-Control-Allow-Origin:
|
|
37
|
+
- "*"
|
|
38
|
+
X-Ratelimit-Remaining:
|
|
39
|
+
- '52'
|
|
40
|
+
X-Ratelimit-Reset:
|
|
41
|
+
- '1796036326067'
|
|
42
|
+
X-Linkrra-Served-By:
|
|
43
|
+
- fleet
|
|
44
|
+
Cache-Control:
|
|
45
|
+
- no-cache
|
|
46
|
+
Strict-Transport-Security:
|
|
47
|
+
- max-age=31536000
|
|
48
|
+
X-Frame-Options:
|
|
49
|
+
- SAMEORIGIN
|
|
50
|
+
X-Content-Type-Options:
|
|
51
|
+
- nosniff
|
|
52
|
+
Referrer-Policy:
|
|
53
|
+
- strict-origin-when-cross-origin
|
|
54
|
+
Permissions-Policy:
|
|
55
|
+
- camera=(), microphone=(self), geolocation=()
|
|
56
|
+
Content-Security-Policy:
|
|
57
|
+
- 'default-src ''self''; script-src ''self'' ''unsafe-inline'' https://static.cloudflareinsights.com
|
|
58
|
+
https://accounts.google.com https://js.stripe.com https://cdn.jsdelivr.net
|
|
59
|
+
https://www.googletagmanager.com; style-src ''self'' ''unsafe-inline'' https://fonts.googleapis.com;
|
|
60
|
+
font-src ''self'' data: https://fonts.gstatic.com; img-src ''self'' data:
|
|
61
|
+
blob: https:; media-src ''self'' blob: https:; connect-src ''self'' https:
|
|
62
|
+
wss:; frame-src ''self'' https://accounts.google.com https://js.stripe.com
|
|
63
|
+
https://checkout.stripe.com; frame-ancestors ''self''; base-uri ''self'';
|
|
64
|
+
form-action ''self'' https:'
|
|
65
|
+
Cf-Cache-Status:
|
|
66
|
+
- DYNAMIC
|
|
67
|
+
Report-To:
|
|
68
|
+
- '{"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=eqW4SOPduoB38hRXiue%2Bl9lCANRZR6gwUltL4bBJu%2BYk1VEyC4TsOAi0M2IjJSATud9iZmKfNRfBkln8XEMJJuYMyqSLgM944JNudcLz%2FwmuzMqEW3Xh51TH21JUCyF4MUieQxLoTF%2FDUMk%3D"}]}'
|
|
69
|
+
Nel:
|
|
70
|
+
- '{"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}'
|
|
71
|
+
Cf-Ray:
|
|
72
|
+
- a6295546b8ed16c3-LHR
|
|
73
|
+
Alt-Svc:
|
|
74
|
+
- h3=":443"; ma=86400
|
|
75
|
+
body:
|
|
76
|
+
encoding: UTF-8
|
|
77
|
+
string: |+
|
|
78
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"role":"assistant","content":""},"logprobs":null,"finish_reason":null}],"prompt_token_ids":null,"prompt_text":null}
|
|
79
|
+
|
|
80
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"The"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
81
|
+
|
|
82
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" user"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
83
|
+
|
|
84
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" asks"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
85
|
+
|
|
86
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":":"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
87
|
+
|
|
88
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" \""},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
89
|
+
|
|
90
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"Count"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
91
|
+
|
|
92
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" from"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
93
|
+
|
|
94
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" "},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
95
|
+
|
|
96
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"1"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
97
|
+
|
|
98
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" to"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
99
|
+
|
|
100
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" "},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
101
|
+
|
|
102
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"3"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
103
|
+
|
|
104
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"\"."},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
105
|
+
|
|
106
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" Lik"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
107
|
+
|
|
108
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"ely"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
109
|
+
|
|
110
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" they"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
111
|
+
|
|
112
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" want"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
113
|
+
|
|
114
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" the"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
115
|
+
|
|
116
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" counting"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
117
|
+
|
|
118
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":":"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
119
|
+
|
|
120
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" "},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
121
|
+
|
|
122
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"1"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
123
|
+
|
|
124
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":","},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
125
|
+
|
|
126
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" "},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
127
|
+
|
|
128
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"2"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
129
|
+
|
|
130
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":","},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
131
|
+
|
|
132
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" "},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
133
|
+
|
|
134
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"3"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
135
|
+
|
|
136
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"."},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
137
|
+
|
|
138
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" They"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
139
|
+
|
|
140
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" might"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
141
|
+
|
|
142
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" simply"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
143
|
+
|
|
144
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" expect"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
145
|
+
|
|
146
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" the"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
147
|
+
|
|
148
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" sequence"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
149
|
+
|
|
150
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" \""},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
151
|
+
|
|
152
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"1"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
153
|
+
|
|
154
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" "},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
155
|
+
|
|
156
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"2"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
157
|
+
|
|
158
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" "},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
159
|
+
|
|
160
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"3"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
161
|
+
|
|
162
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"\"."},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
163
|
+
|
|
164
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" Provide"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
165
|
+
|
|
166
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" answer"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
167
|
+
|
|
168
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"."},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
169
|
+
|
|
170
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" No"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
171
|
+
|
|
172
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" special"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
173
|
+
|
|
174
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" formatting"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
175
|
+
|
|
176
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"."},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
177
|
+
|
|
178
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" Provide"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
179
|
+
|
|
180
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":" simple"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
181
|
+
|
|
182
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"reasoning":"."},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
183
|
+
|
|
184
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"content":"1"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
185
|
+
|
|
186
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
187
|
+
|
|
188
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
189
|
+
|
|
190
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"content":"2"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
191
|
+
|
|
192
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"content":","},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
193
|
+
|
|
194
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"content":" "},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
195
|
+
|
|
196
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{"content":"3"},"logprobs":null,"finish_reason":null,"token_ids":null}],"kv_transfer_params":null}
|
|
197
|
+
|
|
198
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[{"index":0,"delta":{},"logprobs":null,"finish_reason":"stop","stop_reason":null,"token_ids":null,"weight_versions":null}],"kv_transfer_params":null}
|
|
199
|
+
|
|
200
|
+
data: {"id":"chatcmpl-8c0324aedb29888b","object":"chat.completion.chunk","created":1796036266,"model":"gpt-oss-20b","choices":[],"usage":{"prompt_tokens":74,"total_tokens":143,"completion_tokens":69,"prompt_tokens_details":{"cached_tokens":64,"created_cache_tokens":0},"completion_tokens_details":{"reasoning_tokens":52}},"system_fingerprint":"vllm-0.34.0-f3e599dc"}
|
|
201
|
+
|
|
202
|
+
data: [DONE]
|
|
203
|
+
|
|
204
|
+
recorded_at: Mon, 30 Nov 2026 10:57:46 GMT
|
|
205
|
+
recorded_with: VCR 6.4.1
|
|
206
|
+
...
|