File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
spec/anthropic/client/messages Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 130130 end
131131 end
132132
133- context "streaming preprocessed JSON" do
133+ context "preprocessing small JSON array " do
134134 let ( :model ) { "claude-3-haiku-20240307" }
135135 let ( :messages ) do
136136 [ { role : "user" , content : "Give me the height of the 3 tallest mountains. #{ json_prompt } " } ,
169169 end
170170 end
171171
172- context "streaming large preprocessed JSON" do
172+ context "preprocessing large JSON array " do
173173 let ( :model ) { "claude-3-haiku-20240307" }
174174 let ( :messages ) do
175175 [
227227 end
228228 end
229229
230- context "streaming empty preprocessed JSON array" do
230+ context "preprocessing empty JSON array" do
231231 let ( :model ) { "claude-3-haiku-20240307" }
232232 let ( :messages ) do
233233 [
279279 end
280280 end
281281
282- context "streaming preprocessed single small JSON object" do
282+ context "preprocessing single small JSON object" do
283283 let ( :model ) { "claude-3-haiku-20240307" }
284284 let ( :messages ) do
285285 [
332332 end
333333 end
334334
335- context "streaming preprocessed single large JSON object" do
335+ context "preprocessing single large JSON object" do
336336 let ( :model ) { "claude-3-haiku-20240307" }
337337 let ( :messages ) do
338338 [
You can’t perform that action at this time.
0 commit comments