Build Logs

softwaremill/sttp-ai • 3.8.1-RC1:2026-01-13

Errors

43

Warnings

1787

Total Lines

2688

1##################################
2Clonning https://github.com/softwaremill/sttp-ai.git into /build/repo using revision v0.3.10
3##################################
4Note: switching to 'b968009a5cd9d0f67eac5b6d358cb048b70109d3'.
5
6You are in 'detached HEAD' state. You can look around, make experimental
7changes and commit them, and you can discard any commits you make in this
8state without impacting any branches by switching back to a branch.
9
10If you want to create a new branch to retain commits you create, you may
11do so (now or later) by using -c with the switch command. Example:
12
13 git switch -c <new-branch-name>
14
15Or undo this operation with:
16
17 git switch -
18
19Turn off this advice by setting config variable advice.detachedHead to false
20
21Using target Scala version for migration: 3.7.4
22Migrating project for -source:3.5 using Scala 3.7.4
23----
24Preparing build for 3.7.4
25Would try to apply common scalacOption (best-effort, sbt/mill only):
26Append: -rewrite,REQUIRE:-source:3.5-migration
27Remove: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
28
29Try apply source patch:
30Path: build.sbt
31Pattern: val scala3 = List("3.3.6")
32Replacement: val scala3 = List("3.7.4")
33Starting compilation server
34Compiling project (Scala 3.7.3, JVM (21))
35Compiled project (Scala 3.7.3, JVM (21))
36Successfully applied pattern 'val scala3 = List("3.3.6")' in build.sbt
37----
38Starting build for 3.7.4
39Execute tests: false
40sbt project found:
41No prepare script found for project softwaremill/sttp-ai
42##################################
43Scala version: 3.7.4
44Targets: com.softwaremill.sttp.openai%core com.softwaremill.sttp.openai%fs2 com.softwaremill.sttp.openai%ox com.softwaremill.sttp.openai%pekko com.softwaremill.sttp.openai%zio
45Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.5"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = List(\"3.3.6\")","replaceWith":"val scala3 = List(\"<SCALA_VERSION>\")"}]}
46##################################
47Using extra scalacOptions: -rewrite,REQUIRE:-source:3.5-migration
48Filtering out scalacOptions: -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
49[sbt_options] declare -a sbt_options=()
50[process_args] java_version = '21'
51[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
52# Executing command line:
53java
54-Dfile.encoding=UTF-8
55-Dcommunitybuild.scala=3.7.4
56-Dcommunitybuild.project.dependencies.add=
57-Xmx7G
58-Xms4G
59-Xss8M
60-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
61-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
62-jar
63/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
64"setCrossScalaVersions 3.7.4"
65"++3.7.4 -v"
66"mapScalacOptions "-rewrite,REQUIRE:-source:3.5-migration,-Wconf:msg=can be rewritten automatically under:s" "-indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
67"set every credentials := Nil"
68"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
69"removeScalacOptionsStartingWith -P:wartremover"
70
71moduleMappings
72"runBuild 3.7.4 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.5"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = List(\"3.3.6\")","replaceWith":"val scala3 = List(\"<SCALA_VERSION>\")"}]}""" com.softwaremill.sttp.openai%core com.softwaremill.sttp.openai%fs2 com.softwaremill.sttp.openai%ox com.softwaremill.sttp.openai%pekko com.softwaremill.sttp.openai%zio"
73
74[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
75[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
76[info] loading project definition from /build/repo/project
77[info] compiling 3 Scala sources to /build/repo/project/target/scala-2.12/sbt-1.0/classes ...
78[info] Non-compiled module 'compiler-bridge_2.12' for Scala 2.12.20. Compiling...
79[info] Compilation completed in 9.828s.
80[info] done compiling
81[info] loading settings for project root from build.sbt...
82[info] resolving key references (11833 settings) ...
83[info] set current project to sttp-openai (in build file:/build/repo/)
84Execute setCrossScalaVersions: 3.7.4
85OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in core/crossScalaVersions
86OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in core3/crossScalaVersions
87OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in core3/crossScalaVersions
88OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in pekko/crossScalaVersions
89OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in ox3/crossScalaVersions
90OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in ox3/crossScalaVersions
91OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in examples3/crossScalaVersions
92OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in akka/crossScalaVersions
93OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in examples3/crossScalaVersions
94OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in fs23/crossScalaVersions
95OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in fs23/crossScalaVersions
96OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in docs/crossScalaVersions
97OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in root/crossScalaVersions
98OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in zio3/crossScalaVersions
99OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in zio3/crossScalaVersions
100OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in zio/crossScalaVersions
101OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in fs2/crossScalaVersions
102OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in pekko3/crossScalaVersions
103OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in pekko3/crossScalaVersions
104[info] set current project to sttp-openai (in build file:/build/repo/)
105[info] Setting Scala version to 3.7.4 on 6 projects.
106[info] Switching Scala version on:
107[info] core3 (3.7.4)
108[info] pekko3 (3.7.4)
109[info] zio3 (3.7.4)
110[info] ox3 (3.7.4)
111[info] fs23 (3.7.4)
112[info] examples3 (3.7.4)
113[info] Excluding projects:
114[info] fs2 (2.13.16)
115[info] * root (2.13.16)
116[info] akka (2.13.16)
117[info] docs (2.13.16)
118[info] zio (2.13.16)
119[info] pekko (2.13.16)
120[info] core (2.13.16)
121[info] Reapplying settings...
122[info] set current project to sttp-openai (in build file:/build/repo/)
123Execute mapScalacOptions: -rewrite,REQUIRE:-source:3.5-migration,-Wconf:msg=can be rewritten automatically under:s -indent,-no-indent,-new-syntax,,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
124[info] Reapplying settings...
125[info] set current project to sttp-openai (in build file:/build/repo/)
126[info] Defining Global / credentials, akka / credentials and 11 others.
127[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 103 others.
128[info] Run `last` for details.
129[info] Reapplying settings...
130[info] set current project to sttp-openai (in build file:/build/repo/)
131Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
132[info] Reapplying settings...
133OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
134
135 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
136 Did you mean allExcludeDependencies ?
137 , retry without global scopes
138[info] Reapplying settings...
139[info] set current project to sttp-openai (in build file:/build/repo/)
140Execute removeScalacOptionsStartingWith: -P:wartremover
141[info] Reapplying settings...
142[info] set current project to sttp-openai (in build file:/build/repo/)
143[success] Total time: 0 s, completed Jan 13, 2026, 7:18:34 PM
144Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"compile-only","migrationVersions":["3.5"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = List(\"3.3.6\")","replaceWith":"val scala3 = List(\"<SCALA_VERSION>\")"}]}
145Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),CompileOnly,List()))
146Starting build...
147Projects: Set(core3, pekko3, zio3, ox3, fs23)
148Starting build for ProjectRef(file:/build/repo/,ox3) (ox)... [0/5]
149OpenCB::Exclude Scala3 specific scalacOption `-rewrite` in Scala 2.12.20 module Global
150OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.5-migration` in Scala 2.12.20 module Global
151OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
152OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
153Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.5-migration
154[info] compiling 86 Scala sources to /build/repo/core/target/jvm-3/classes ...
155[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/sttp/openai/requests/finetuning/FineTuningJobRequestBody.scala:4:13
156[warn] 4 |import ujson.Str
157[warn] | ^^^
158[warn] | unused import
159[info] [patched file /build/repo/core/src/main/scala/sttp/openai/requests/responses/Tool.scala]
160[info] [patched file /build/repo/core/src/main/scala/sttp/openai/requests/finetuning/FineTuningJobRequestBody.scala]
161[info] [patched file /build/repo/core/src/main/scala/sttp/openai/requests/completions/chat/message/Tool.scala]
162[info] [patched file /build/repo/core/src/main/scala/sttp/openai/requests/assistants/Tool.scala]
163[warn] there were 4 deprecation warnings; re-run with -deprecation for details
164[warn] two warnings found
165[info] done compiling
166[info] compiling 1 Scala source to /build/repo/streaming/ox/target/jvm-3/classes ...
167[info] done compiling
168[info] compiling 4 Scala sources to /build/repo/core/target/jvm-3/classes ...
169[info] done compiling
170[info] compiling 54 Scala sources to /build/repo/core/target/jvm-3/test-classes ...
171[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:73:6
172[warn] 73 | models should not be null
173[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
174[warn] | unused value of type org.scalatest.Assertion
175[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:74:6
176[warn] 74 | models.`object` shouldBe "list"
177[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
178[warn] | unused value of type org.scalatest.Assertion
179[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:75:6
180[warn] 75 | models.data should not be empty
181[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
182[warn] | unused value of type org.scalatest.Assertion
183[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:77:8
184[warn] 77 | model.id should not be empty
185[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
186[warn] | unused value of type org.scalatest.Assertion
187[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:78:8
188[warn] 78 | model.`object` shouldBe "model"
189[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
190[warn] | unused value of type org.scalatest.Assertion
191[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:93:6
192[warn] 93 | model should not be null
193[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
194[warn] | unused value of type org.scalatest.Assertion
195[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:94:6
196[warn] 94 | model.id shouldBe modelId
197[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
198[warn] | unused value of type org.scalatest.Assertion
199[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:95:6
200[warn] 95 | model.`object` shouldBe "model"
201[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
202[warn] | unused value of type org.scalatest.Assertion
203[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:96:6
204[warn] 96 | model.ownedBy should not be empty
205[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
206[warn] | unused value of type org.scalatest.Assertion
207[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:110:6
208[warn] 110 | moderation should not be null
209[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
210[warn] | unused value of type org.scalatest.Assertion
211[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:111:6
212[warn] 111 | moderation.id should not be empty
213[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
214[warn] | unused value of type org.scalatest.Assertion
215[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:112:6
216[warn] 112 | moderation.model.value should not be empty
217[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
218[warn] | unused value of type org.scalatest.Assertion
219[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:113:6
220[warn] 113 | moderation.results should not be empty
221[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
222[warn] | unused value of type org.scalatest.Assertion
223[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:114:6
224[warn] 114 | moderation.results.head.flagged shouldBe false // Harmless text should not be flagged
225[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
226[warn] | unused value of type org.scalatest.Assertion
227[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:115:6
228[warn] 115 | moderation.results.head.categories should not be null
229[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
230[warn] | unused value of type org.scalatest.Assertion
231[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:129:6
232[warn] 129 | moderation should not be null
233[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
234[warn] | unused value of type org.scalatest.Assertion
235[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:130:6
236[warn] 130 | moderation.results should not be empty
237[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
238[warn] | unused value of type org.scalatest.Assertion
239[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:133:6
240[warn] 133 | moderation.results.head.categories should not be null
241[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
242[warn] | unused value of type org.scalatest.Assertion
243[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:134:6
244[warn] 134 | moderation.results.head.categoryScores should not be null
245[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
246[warn] | unused value of type org.scalatest.Assertion
247[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:151:6
248[warn] 151 | embeddings should not be null
249[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
250[warn] | unused value of type org.scalatest.Assertion
251[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:152:6
252[warn] 152 | embeddings.`object` shouldBe "list"
253[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
254[warn] | unused value of type org.scalatest.Assertion
255[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:153:6
256[warn] 153 | embeddings.model.value should not be empty
257[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
258[warn] | unused value of type org.scalatest.Assertion
259[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:154:6
260[warn] 154 | embeddings.data should not be empty
261[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
262[warn] | unused value of type org.scalatest.Assertion
263[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:155:6
264[warn] 155 | embeddings.data.head.`object` shouldBe "embedding"
265[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
266[warn] | unused value of type org.scalatest.Assertion
267[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:156:6
268[warn] 156 | embeddings.data.head.embedding should not be empty
269[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
270[warn] | unused value of type org.scalatest.Assertion
271[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:157:6
272[warn] 157 | embeddings.data.head.index shouldBe 0
273[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
274[warn] | unused value of type org.scalatest.Assertion
275[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:158:6
276[warn] 158 | embeddings.usage should not be null
277[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
278[warn] | unused value of type org.scalatest.Assertion
279[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:159:6
280[warn] 159 | embeddings.usage.totalTokens should be > 0
281[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
282[warn] | unused value of type org.scalatest.Assertion
283[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:181:6
284[warn] 181 | response should not be null
285[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
286[warn] | unused value of type org.scalatest.Assertion
287[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:182:6
288[warn] 182 | response.id should not be empty
289[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
290[warn] | unused value of type org.scalatest.Assertion
291[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:183:6
292[warn] 183 | response.`object` shouldBe "chat.completion"
293[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
294[warn] | unused value of type org.scalatest.Assertion
295[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:184:6
296[warn] 184 | response.model should not be empty
297[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
298[warn] | unused value of type org.scalatest.Assertion
299[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:185:6
300[warn] 185 | response.choices should not be empty
301[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
302[warn] | unused value of type org.scalatest.Assertion
303[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:186:6
304[warn] 186 | response.choices.head.message.role.value shouldBe "assistant"
305[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
306[warn] | unused value of type org.scalatest.Assertion
307[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:187:6
308[warn] 187 | response.choices.head.message.content should not be empty
309[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
310[warn] | unused value of type org.scalatest.Assertion
311[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:188:6
312[warn] 188 | response.usage should not be null
313[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
314[warn] | unused value of type org.scalatest.Assertion
315[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:189:6
316[warn] 189 | response.usage.totalTokens should be > 0
317[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
318[warn] | unused value of type org.scalatest.Assertion
319[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:190:6
320[warn] 190 | response.usage.totalTokens should be <= 20 // Should be very low due to our constraints
321[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
322[warn] | unused value of type org.scalatest.Assertion
323[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:206:6
324[warn] 206 | createdResponse should not be null
325[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
326[warn] | unused value of type org.scalatest.Assertion
327[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:207:6
328[warn] 207 | createdResponse.id should not be empty
329[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
330[warn] | unused value of type org.scalatest.Assertion
331[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:208:6
332[warn] 208 | createdResponse.`object` shouldBe "response"
333[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
334[warn] | unused value of type org.scalatest.Assertion
335[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:209:6
336[warn] 209 | createdResponse.status shouldBe "completed"
337[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
338[warn] | unused value of type org.scalatest.Assertion
339[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:210:6
340[warn] 210 | createdResponse.output should not be empty
341[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
342[warn] | unused value of type org.scalatest.Assertion
343[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:211:6
344[warn] 211 | createdResponse.output.head should be(a[sttp.openai.requests.responses.ResponsesResponseBody.OutputItem.OutputMessage])
345[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
346[warn] | unused value of type org.scalatest.Assertion
347[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:212:6
348[warn] 212 | createdResponse.createdAt should be > 0L
349[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
350[warn] | unused value of type org.scalatest.Assertion
351[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:215:6
352[warn] 215 | createdResponse.usage should not be null
353[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
354[warn] | unused value of type org.scalatest.Assertion
355[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:227:6
356[warn] 227 | retrievedResponse should not be null
357[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
358[warn] | unused value of type org.scalatest.Assertion
359[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:228:6
360[warn] 228 | retrievedResponse.id shouldBe createdResponse.id
361[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
362[warn] | unused value of type org.scalatest.Assertion
363[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:229:6
364[warn] 229 | retrievedResponse.`object` shouldBe "response"
365[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
366[warn] | unused value of type org.scalatest.Assertion
367[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:230:6
368[warn] 230 | retrievedResponse.status shouldBe "completed"
369[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
370[warn] | unused value of type org.scalatest.Assertion
371[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:231:6
372[warn] 231 | retrievedResponse.output should not be empty
373[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
374[warn] | unused value of type org.scalatest.Assertion
375[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:232:6
376[warn] 232 | retrievedResponse.model shouldBe createdResponse.model
377[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
378[warn] | unused value of type org.scalatest.Assertion
379[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:233:6
380[warn] 233 | retrievedResponse.createdAt shouldBe createdResponse.createdAt
381[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
382[warn] | unused value of type org.scalatest.Assertion
383[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:242:6
384[warn] 242 | inputItems should not be null
385[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
386[warn] | unused value of type org.scalatest.Assertion
387[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:243:6
388[warn] 243 | inputItems.`object` shouldBe "list"
389[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
390[warn] | unused value of type org.scalatest.Assertion
391[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:244:6
392[warn] 244 | inputItems.data should not be empty
393[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
394[warn] | unused value of type org.scalatest.Assertion
395[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:249:6
396[warn] 249 | userInputMessage should be(defined)
397[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
398[warn] | unused value of type org.scalatest.Assertion
399[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:252:6
400[warn] 252 | inputMessage.role shouldBe "user"
401[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
402[warn] | unused value of type org.scalatest.Assertion
403[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:258:6
404[warn] 258 | textContent should be(defined)
405[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
406[warn] | unused value of type org.scalatest.Assertion
407[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:261:6
408[warn] 261 | inputText.text shouldBe "Hi"
409[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
410[warn] | unused value of type org.scalatest.Assertion
411[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:267:6
412[warn] 267 | deleteResult should not be null
413[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
414[warn] | unused value of type org.scalatest.Assertion
415[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:268:6
416[warn] 268 | deleteResult.deleted shouldBe true
417[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
418[warn] | unused value of type org.scalatest.Assertion
419[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:269:6
420[warn] 269 | deleteResult.id shouldBe createdResponse.id
421[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
422[warn] | unused value of type org.scalatest.Assertion
423[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:270:6
424[warn] 270 | deleteResult.`object` shouldBe "response.deleted"
425[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
426[warn] | unused value of type org.scalatest.Assertion
427[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:282:4
428[warn] 282 | exception.message.getOrElse("") should include("API key")
429[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
430[warn] | unused value of type org.scalatest.Assertion
431[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:305:6
432[warn] 305 | results.count(_.isSuccess) should be >= 1
433[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
434[warn] | unused value of type org.scalatest.Assertion
435[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:326:6
436[warn] 326 | models should not be null
437[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
438[warn] | unused value of type org.scalatest.Assertion
439[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:327:6
440[warn] 327 | models.data should not be empty
441[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
442[warn] | unused value of type org.scalatest.Assertion
443[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/completions/chat/ToolSpec.scala:43:4
444[warn] 43 | serialized shouldBe expectedJson
445[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
446[warn] | unused value of type org.scalatest.Assertion
447[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/completions/chat/ToolSpec.scala:61:4
448[warn] 61 | serialized shouldBe expectedJson
449[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
450[warn] | unused value of type org.scalatest.Assertion
451[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/completions/chat/ToolSpec.scala:64:4
452[warn] 64 | deserialized.strict should contain(true)
453[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
454[warn] | unused value of type org.scalatest.Assertion
455[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:15:4
456[warn] 15 | part.name shouldBe name
457[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
458[warn] | unused value of type org.scalatest.Assertion
459[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:16:4
460[warn] 16 | part.body shouldBe a[FileBody]
461[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
462[warn] | unused value of type org.scalatest.Assertion
463[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:17:4
464[warn] 17 | part.headers should contain(sttp.model.Header("Content-Type", "application/octet-stream"))
465[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
466[warn] | unused value of type org.scalatest.Assertion
467[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:23:4
468[warn] 23 | part.name shouldBe name
469[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
470[warn] | unused value of type org.scalatest.Assertion
471[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:24:4
472[warn] 24 | part.body shouldBe a[StringBody]
473[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
474[warn] | unused value of type org.scalatest.Assertion
475[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:25:4
476[warn] 25 | part.body.asInstanceOf[StringBody].s shouldBe value
477[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
478[warn] | unused value of type org.scalatest.Assertion
479[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:39:4
480[warn] 39 | parts should have size 2
481[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
482[warn] | unused value of type org.scalatest.Assertion
483[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:41:17
484[warn] 41 | checkFilePart(parts, "image", config.image.head)
485[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
486[warn] | unused value of type org.scalatest.Assertion
487[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:42:4
488[warn] 42 | parts.find(_.name == "image[]") shouldBe None
489[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
490[warn] | unused value of type org.scalatest.Assertion
491[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:56:4
492[warn] 56 | parts should have size 15
493[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
494[warn] | unused value of type org.scalatest.Assertion
495[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:58:17
496[warn] 58 | checkFilePart(parts, "image", config.image.head)
497[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
498[warn] | unused value of type org.scalatest.Assertion
499[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:59:4
500[warn] 59 | parts.find(_.name == "image[]") shouldBe None
501[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
502[warn] | unused value of type org.scalatest.Assertion
503[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:60:17
504[warn] 60 | checkFilePart(parts, "mask", config.mask.get)
505[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
506[warn] | unused value of type org.scalatest.Assertion
507[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:62:19
508[warn] 62 | checkStringPart(parts, "prompt", config.prompt)
509[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
510[warn] | unused value of type org.scalatest.Assertion
511[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:63:19
512[warn] 63 | checkStringPart(parts, "background", "transparent")
513[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
514[warn] | unused value of type org.scalatest.Assertion
515[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:64:19
516[warn] 64 | checkStringPart(parts, "input_fidelity", "high")
517[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
518[warn] | unused value of type org.scalatest.Assertion
519[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:65:19
520[warn] 65 | checkStringPart(parts, "model", "gpt-image-1")
521[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
522[warn] | unused value of type org.scalatest.Assertion
523[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:66:19
524[warn] 66 | checkStringPart(parts, "n", "2")
525[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
526[warn] | unused value of type org.scalatest.Assertion
527[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:67:19
528[warn] 67 | checkStringPart(parts, "output_compression", "80")
529[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
530[warn] | unused value of type org.scalatest.Assertion
531[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:68:19
532[warn] 68 | checkStringPart(parts, "output_format", "png")
533[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
534[warn] | unused value of type org.scalatest.Assertion
535[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:69:19
536[warn] 69 | checkStringPart(parts, "partial_images", "2")
537[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
538[warn] | unused value of type org.scalatest.Assertion
539[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:70:19
540[warn] 70 | checkStringPart(parts, "quality", "high")
541[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
542[warn] | unused value of type org.scalatest.Assertion
543[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:71:19
544[warn] 71 | checkStringPart(parts, "size", "1024x1024")
545[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
546[warn] | unused value of type org.scalatest.Assertion
547[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:72:19
548[warn] 72 | checkStringPart(parts, "response_format", "url")
549[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
550[warn] | unused value of type org.scalatest.Assertion
551[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:73:19
552[warn] 73 | checkStringPart(parts, "stream", "false")
553[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
554[warn] | unused value of type org.scalatest.Assertion
555[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:87:4
556[warn] 87 | parts should have size 16
557[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
558[warn] | unused value of type org.scalatest.Assertion
559[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:89:4
560[warn] 89 | parts.find(_.name == "image") shouldBe None
561[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
562[warn] | unused value of type org.scalatest.Assertion
563[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:92:4
564[warn] 92 | imageParts should have size 2
565[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
566[warn] | unused value of type org.scalatest.Assertion
567[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:111:4
568[warn] 111 | parts.map(_.name) should not contain "background"
569[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
570[warn] | unused value of type org.scalatest.Assertion
571[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:112:4
572[warn] 112 | parts.map(_.name) should not contain "input_fidelity"
573[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
574[warn] | unused value of type org.scalatest.Assertion
575[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:113:4
576[warn] 113 | parts.map(_.name) should not contain "mask"
577[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
578[warn] | unused value of type org.scalatest.Assertion
579[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:114:4
580[warn] 114 | parts.map(_.name) should not contain "model"
581[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
582[warn] | unused value of type org.scalatest.Assertion
583[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:115:4
584[warn] 115 | parts.map(_.name) should not contain "n"
585[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
586[warn] | unused value of type org.scalatest.Assertion
587[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:116:4
588[warn] 116 | parts.map(_.name) should not contain "output_compression"
589[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
590[warn] | unused value of type org.scalatest.Assertion
591[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:117:4
592[warn] 117 | parts.map(_.name) should not contain "output_format"
593[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
594[warn] | unused value of type org.scalatest.Assertion
595[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:118:4
596[warn] 118 | parts.map(_.name) should not contain "partial_images"
597[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
598[warn] | unused value of type org.scalatest.Assertion
599[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:119:4
600[warn] 119 | parts.map(_.name) should not contain "quality"
601[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
602[warn] | unused value of type org.scalatest.Assertion
603[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:120:4
604[warn] 120 | parts.map(_.name) should not contain "size"
605[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
606[warn] | unused value of type org.scalatest.Assertion
607[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:121:4
608[warn] 121 | parts.map(_.name) should not contain "response_format"
609[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
610[warn] | unused value of type org.scalatest.Assertion
611[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:122:4
612[warn] 122 | parts.map(_.name) should not contain "stream"
613[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
614[warn] | unused value of type org.scalatest.Assertion
615[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:38:4
616[warn] 38 | deserializedResponse.`object` shouldBe "list"
617[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
618[warn] | unused value of type org.scalatest.Assertion
619[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:39:4
620[warn] 39 | deserializedResponse.firstId shouldBe "msg_abc123"
621[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
622[warn] | unused value of type org.scalatest.Assertion
623[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:40:4
624[warn] 40 | deserializedResponse.lastId shouldBe "msg_abc123"
625[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
626[warn] | unused value of type org.scalatest.Assertion
627[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:41:4
628[warn] 41 | deserializedResponse.hasMore shouldBe false
629[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
630[warn] | unused value of type org.scalatest.Assertion
631[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:42:4
632[warn] 42 | deserializedResponse.data should have size 1
633[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
634[warn] | unused value of type org.scalatest.Assertion
635[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:45:4
636[warn] 45 | inputMessage.id shouldBe "msg_abc123"
637[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
638[warn] | unused value of type org.scalatest.Assertion
639[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:46:4
640[warn] 46 | inputMessage.role shouldBe "user"
641[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
642[warn] | unused value of type org.scalatest.Assertion
643[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:47:4
644[warn] 47 | inputMessage.content should have size 1
645[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
646[warn] | unused value of type org.scalatest.Assertion
647[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:285:4
648[warn] 285 | deserializedResponse.id shouldBe "resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41"
649[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
650[warn] | unused value of type org.scalatest.Assertion
651[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:286:4
652[warn] 286 | deserializedResponse.model shouldBe GPT4o20240806
653[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
654[warn] | unused value of type org.scalatest.Assertion
655[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:287:4
656[warn] 287 | deserializedResponse.`object` shouldBe "response"
657[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
658[warn] | unused value of type org.scalatest.Assertion
659[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:288:4
660[warn] 288 | deserializedResponse.status shouldBe "completed"
661[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
662[warn] | unused value of type org.scalatest.Assertion
663[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:289:4
664[warn] 289 | deserializedResponse.createdAt shouldBe 1741476777L
665[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
666[warn] | unused value of type org.scalatest.Assertion
667[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:290:4
668[warn] 290 | deserializedResponse.parallelToolCalls shouldBe Some(true)
669[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
670[warn] | unused value of type org.scalatest.Assertion
671[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:291:4
672[warn] 291 | deserializedResponse.temperature shouldBe Some(1.0)
673[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
674[warn] | unused value of type org.scalatest.Assertion
675[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:292:4
676[warn] 292 | deserializedResponse.topP shouldBe Some(1.0)
677[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
678[warn] | unused value of type org.scalatest.Assertion
679[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:293:4
680[warn] 293 | deserializedResponse.truncation shouldBe Some("disabled")
681[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
682[warn] | unused value of type org.scalatest.Assertion
683[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:294:4
684[warn] 294 | deserializedResponse.metadata shouldBe Some(Map.empty)
685[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
686[warn] | unused value of type org.scalatest.Assertion
687[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:297:4
688[warn] 297 | deserializedResponse.usage shouldBe defined
689[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
690[warn] | unused value of type org.scalatest.Assertion
691[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:299:4
692[warn] 299 | usage.inputTokens shouldBe 328
693[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
694[warn] | unused value of type org.scalatest.Assertion
695[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:300:4
696[warn] 300 | usage.outputTokens shouldBe 52
697[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
698[warn] | unused value of type org.scalatest.Assertion
699[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:301:4
700[warn] 301 | usage.totalTokens shouldBe 380
701[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
702[warn] | unused value of type org.scalatest.Assertion
703[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:302:4
704[warn] 302 | usage.inputTokensDetails shouldBe Some(InputTokensDetails(cachedTokens = 0))
705[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
706[warn] | unused value of type org.scalatest.Assertion
707[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:303:4
708[warn] 303 | usage.outputTokensDetails shouldBe Some(OutputTokensDetails(reasoningTokens = Some(0)))
709[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
710[warn] | unused value of type org.scalatest.Assertion
711[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:306:4
712[warn] 306 | deserializedResponse.output should have size 1
713[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
714[warn] | unused value of type org.scalatest.Assertion
715[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:308:4
716[warn] 308 | outputMessage.id shouldBe "msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41"
717[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
718[warn] | unused value of type org.scalatest.Assertion
719[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:309:4
720[warn] 309 | outputMessage.role shouldBe "assistant"
721[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
722[warn] | unused value of type org.scalatest.Assertion
723[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:310:4
724[warn] 310 | outputMessage.status shouldBe "completed"
725[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
726[warn] | unused value of type org.scalatest.Assertion
727[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:311:4
728[warn] 311 | outputMessage.content should have size 1
729[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
730[warn] | unused value of type org.scalatest.Assertion
731[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:314:4
732[warn] 314 | outputText.text should include("The image depicts a scenic landscape")
733[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
734[warn] | unused value of type org.scalatest.Assertion
735[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:327:4
736[warn] 327 | deserializedResponse.id shouldBe "resp_complex123"
737[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
738[warn] | unused value of type org.scalatest.Assertion
739[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:328:4
740[warn] 328 | deserializedResponse.model shouldBe ResponsesModel.GPT4o
741[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
742[warn] | unused value of type org.scalatest.Assertion
743[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:329:4
744[warn] 329 | deserializedResponse.`object` shouldBe "response"
745[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
746[warn] | unused value of type org.scalatest.Assertion
747[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:330:4
748[warn] 330 | deserializedResponse.status shouldBe "completed"
749[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
750[warn] | unused value of type org.scalatest.Assertion
751[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:331:4
752[warn] 331 | deserializedResponse.createdAt shouldBe 1741476778L
753[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
754[warn] | unused value of type org.scalatest.Assertion
755[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:332:4
756[warn] 332 | deserializedResponse.instructions shouldBe Some(Left("You are a helpful assistant"))
757[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
758[warn] | unused value of type org.scalatest.Assertion
759[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:333:4
760[warn] 333 | deserializedResponse.maxOutputTokens shouldBe Some(2000)
761[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
762[warn] | unused value of type org.scalatest.Assertion
763[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:334:4
764[warn] 334 | deserializedResponse.parallelToolCalls shouldBe Some(false)
765[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
766[warn] | unused value of type org.scalatest.Assertion
767[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:335:4
768[warn] 335 | deserializedResponse.previousResponseId shouldBe Some("prev_resp_123")
769[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
770[warn] | unused value of type org.scalatest.Assertion
771[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:336:4
772[warn] 336 | deserializedResponse.temperature shouldBe Some(0.7)
773[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
774[warn] | unused value of type org.scalatest.Assertion
775[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:337:4
776[warn] 337 | deserializedResponse.topP shouldBe Some(0.9)
777[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
778[warn] | unused value of type org.scalatest.Assertion
779[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:338:4
780[warn] 338 | deserializedResponse.truncation shouldBe Some("auto")
781[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
782[warn] | unused value of type org.scalatest.Assertion
783[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:339:4
784[warn] 339 | deserializedResponse.user shouldBe Some("user123")
785[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
786[warn] | unused value of type org.scalatest.Assertion
787[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:340:4
788[warn] 340 | deserializedResponse.metadata shouldBe Some(
789[warn] | ^
790[warn] | unused value of type org.scalatest.Assertion
791[warn] 341 | Map(
792[warn] 342 | "session_id" -> "session_123",
793[warn] 343 | "experiment" -> "test_run"
794[warn] 344 | )
795[warn] 345 | )
796[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:348:4
797[warn] 348 | deserializedResponse.usage shouldBe defined
798[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
799[warn] | unused value of type org.scalatest.Assertion
800[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:350:4
801[warn] 350 | usage2.inputTokens shouldBe 500
802[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
803[warn] | unused value of type org.scalatest.Assertion
804[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:351:4
805[warn] 351 | usage2.outputTokens shouldBe 150
806[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
807[warn] | unused value of type org.scalatest.Assertion
808[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:352:4
809[warn] 352 | usage2.totalTokens shouldBe 650
810[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
811[warn] | unused value of type org.scalatest.Assertion
812[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:353:4
813[warn] 353 | usage2.inputTokensDetails shouldBe Some(InputTokensDetails(cachedTokens = 100))
814[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
815[warn] | unused value of type org.scalatest.Assertion
816[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:354:4
817[warn] 354 | usage2.outputTokensDetails shouldBe Some(OutputTokensDetails(reasoningTokens = Some(50)))
818[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
819[warn] | unused value of type org.scalatest.Assertion
820[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:357:4
821[warn] 357 | deserializedResponse.reasoning shouldBe defined
822[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
823[warn] | unused value of type org.scalatest.Assertion
824[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:358:4
825[warn] 358 | deserializedResponse.reasoning.get.effort shouldBe Some("medium")
826[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
827[warn] | unused value of type org.scalatest.Assertion
828[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:359:4
829[warn] 359 | deserializedResponse.reasoning.get.summary shouldBe Some("concise")
830[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
831[warn] | unused value of type org.scalatest.Assertion
832[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:362:4
833[warn] 362 | deserializedResponse.output should have size 3
834[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
835[warn] | unused value of type org.scalatest.Assertion
836[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:366:4
837[warn] 366 | outputMessage.id shouldBe "msg_complex123"
838[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
839[warn] | unused value of type org.scalatest.Assertion
840[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:367:4
841[warn] 367 | outputMessage.role shouldBe "assistant"
842[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
843[warn] | unused value of type org.scalatest.Assertion
844[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:368:4
845[warn] 368 | outputMessage.status shouldBe "completed"
846[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
847[warn] | unused value of type org.scalatest.Assertion
848[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:369:4
849[warn] 369 | outputMessage.content should have size 1
850[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
851[warn] | unused value of type org.scalatest.Assertion
852[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:372:4
853[warn] 372 | outputText.text shouldBe "I'll search for information about machine learning."
854[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
855[warn] | unused value of type org.scalatest.Assertion
856[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:373:4
857[warn] 373 | outputText.annotations should have size 1
858[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
859[warn] | unused value of type org.scalatest.Assertion
860[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:376:4
861[warn] 376 | citation.fileId shouldBe "file-123"
862[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
863[warn] | unused value of type org.scalatest.Assertion
864[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:377:4
865[warn] 377 | citation.filename shouldBe "ml_guide.pdf"
866[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
867[warn] | unused value of type org.scalatest.Assertion
868[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:378:4
869[warn] 378 | citation.index shouldBe 0
870[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
871[warn] | unused value of type org.scalatest.Assertion
872[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:382:4
873[warn] 382 | fileSearchCall.id shouldBe "call_search123"
874[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
875[warn] | unused value of type org.scalatest.Assertion
876[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:383:4
877[warn] 383 | fileSearchCall.queries shouldBe List("machine learning", "neural networks")
878[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
879[warn] | unused value of type org.scalatest.Assertion
880[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:384:4
881[warn] 384 | fileSearchCall.status shouldBe "completed"
882[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
883[warn] | unused value of type org.scalatest.Assertion
884[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:385:4
885[warn] 385 | fileSearchCall.results shouldBe defined
886[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
887[warn] | unused value of type org.scalatest.Assertion
888[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:389:4
889[warn] 389 | codeCall.id shouldBe "code_call123"
890[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
891[warn] | unused value of type org.scalatest.Assertion
892[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:390:4
893[warn] 390 | codeCall.containerId shouldBe "container_123"
894[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
895[warn] | unused value of type org.scalatest.Assertion
896[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:391:4
897[warn] 391 | codeCall.code shouldBe Some("import numpy as np\nprint('Hello ML')")
898[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
899[warn] | unused value of type org.scalatest.Assertion
900[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:392:4
901[warn] 392 | codeCall.status shouldBe "completed"
902[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
903[warn] | unused value of type org.scalatest.Assertion
904[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:445:4
905[warn] 445 | deserializedResponse.id shouldBe "resp_tool_choice_123"
906[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
907[warn] | unused value of type org.scalatest.Assertion
908[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:446:4
909[warn] 446 | deserializedResponse.model shouldBe ResponsesModel.GPT4o
910[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
911[warn] | unused value of type org.scalatest.Assertion
912[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:447:4
913[warn] 447 | deserializedResponse.status shouldBe "completed"
914[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
915[warn] | unused value of type org.scalatest.Assertion
916[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:450:4
917[warn] 450 | deserializedResponse.toolChoice shouldBe defined
918[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
919[warn] | unused value of type org.scalatest.Assertion
920[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:452:4
921[warn] 452 | toolChoice shouldBe a[ToolChoiceObject.AllowedTools]
922[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
923[warn] | unused value of type org.scalatest.Assertion
924[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:455:4
925[warn] 455 | allowedTools.mode shouldBe "auto"
926[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
927[warn] | unused value of type org.scalatest.Assertion
928[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:456:4
929[warn] 456 | allowedTools.tools should have size 3
930[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
931[warn] | unused value of type org.scalatest.Assertion
932[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:460:4
933[warn] 460 | functionTool shouldBe a[ToolChoiceObject.AllowedTools.ToolDefinition.Function]
934[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
935[warn] | unused value of type org.scalatest.Assertion
936[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:462:4
937[warn] 462 | function.name shouldBe "get_weather"
938[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
939[warn] | unused value of type org.scalatest.Assertion
940[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:466:4
941[warn] 466 | mcpTool shouldBe a[ToolChoiceObject.AllowedTools.ToolDefinition.Mcp]
942[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
943[warn] | unused value of type org.scalatest.Assertion
944[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:468:4
945[warn] 468 | mcp.serverLabel shouldBe "deepwiki"
946[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
947[warn] | unused value of type org.scalatest.Assertion
948[info] [patched file /build/repo/core/src/test/scala/sttp/openai/json/SerializationHelpersSpec.scala]
949[info] [patched file /build/repo/core/src/test/scala/sttp/openai/client/SyncClientSpec.scala]
950[warn] 193 warnings found
951[info] done compiling
952[info] compiling 1 Scala source to /build/repo/streaming/ox/target/jvm-3/test-classes ...
953[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:42:6
954[warn] 42 | caught.getClass shouldBe expectedError.getClass
955[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
956[warn] | unused value of type org.scalatest.Assertion
957[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:43:6
958[warn] 43 | caught.message shouldBe expectedError.message
959[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
960[warn] | unused value of type org.scalatest.Assertion
961[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:44:6
962[warn] 44 | caught.cause.getClass shouldBe expectedError.cause.getClass
963[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
964[warn] | unused value of type org.scalatest.Assertion
965[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:45:6
966[warn] 45 | caught.code shouldBe expectedError.code
967[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
968[warn] | unused value of type org.scalatest.Assertion
969[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:46:6
970[warn] 46 | caught.param shouldBe expectedError.param
971[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
972[warn] | unused value of type org.scalatest.Assertion
973[warn] -- [E198] Unused Symbol Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:122:115
974[warn] 122 | private def assertStreamedCompletion(givenResponse: InputStream, expectedResponse: Seq[ChatChunkResponse])(using Ox) = {
975[warn] | ^
976[warn] | unused implicit parameter
977[warn] 6 warnings found
978[info] done compiling
979[info] compiling 2 Scala sources to /build/repo/core/target/jvm-3/test-classes ...
980[info] done compiling
981Starting build for ProjectRef(file:/build/repo/,core3) (core)... [1/5]
982Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.5-migration
983Starting build for ProjectRef(file:/build/repo/,zio3) (zio)... [2/5]
984Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.5-migration
985[info] compiling 1 Scala source to /build/repo/streaming/zio/target/jvm-3/classes ...
986[info] done compiling
987[info] compiling 1 Scala source to /build/repo/streaming/zio/target/jvm-3/test-classes ...
988[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:67:6
989[warn] 67 | caught.getClass shouldBe expectedError.getClass
990[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
991[warn] | unused value of type org.scalatest.Assertion
992[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:68:6
993[warn] 68 | caught.message shouldBe expectedError.message
994[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
995[warn] | unused value of type org.scalatest.Assertion
996[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:69:6
997[warn] 69 | caught.cause.getClass shouldBe expectedError.cause.getClass
998[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
999[warn] | unused value of type org.scalatest.Assertion
1000[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:70:6
1001[warn] 70 | caught.code shouldBe expectedError.code
1002[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1003[warn] | unused value of type org.scalatest.Assertion
1004[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:71:6
1005[warn] 71 | caught.param shouldBe expectedError.param
1006[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1007[warn] | unused value of type org.scalatest.Assertion
1008[info] [patched file /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala]
1009[warn] 5 warnings found
1010[info] done compiling
1011[info] compiling 1 Scala source to /build/repo/streaming/zio/target/jvm-3/test-classes ...
1012[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:67:6
1013[warn] 67 | caught.getClass shouldBe expectedError.getClass
1014[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1015[warn] | unused value of type org.scalatest.Assertion
1016[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:68:6
1017[warn] 68 | caught.message shouldBe expectedError.message
1018[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1019[warn] | unused value of type org.scalatest.Assertion
1020[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:69:6
1021[warn] 69 | caught.cause.getClass shouldBe expectedError.cause.getClass
1022[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1023[warn] | unused value of type org.scalatest.Assertion
1024[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:70:6
1025[warn] 70 | caught.code shouldBe expectedError.code
1026[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1027[warn] | unused value of type org.scalatest.Assertion
1028[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:71:6
1029[warn] 71 | caught.param shouldBe expectedError.param
1030[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1031[warn] | unused value of type org.scalatest.Assertion
1032[warn] 5 warnings found
1033[info] done compiling
1034Starting build for ProjectRef(file:/build/repo/,pekko3) (pekko)... [3/5]
1035Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.5-migration
1036[info] compiling 1 Scala source to /build/repo/streaming/pekko/target/jvm-3/classes ...
1037[info] done compiling
1038[info] compiling 1 Scala source to /build/repo/streaming/pekko/target/jvm-3/test-classes ...
1039[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:66:8
1040[warn] 66 | c.getClass shouldBe expectedError.getClass
1041[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1042[warn] | unused value of type org.scalatest.Assertion
1043[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:67:8
1044[warn] 67 | c.message shouldBe expectedError.message
1045[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1046[warn] | unused value of type org.scalatest.Assertion
1047[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:68:8
1048[warn] 68 | c.cause.getClass shouldBe expectedError.cause.getClass
1049[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1050[warn] | unused value of type org.scalatest.Assertion
1051[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:69:8
1052[warn] 69 | c.code shouldBe expectedError.code
1053[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1054[warn] | unused value of type org.scalatest.Assertion
1055[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:70:8
1056[warn] 70 | c.param shouldBe expectedError.param
1057[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1058[warn] | unused value of type org.scalatest.Assertion
1059[warn] 5 warnings found
1060[info] done compiling
1061Starting build for ProjectRef(file:/build/repo/,fs23) (fs2)... [4/5]
1062Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -rewrite, -Wconf:msg=can be rewritten automatically under:s, -source:3.5-migration
1063[info] compiling 1 Scala source to /build/repo/streaming/fs2/target/jvm-3/classes ...
1064[info] done compiling
1065[info] compiling 1 Scala source to /build/repo/streaming/fs2/target/jvm-3/test-classes ...
1066[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:64:8
1067[warn] 64 | c.getClass shouldBe expectedError.getClass
1068[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1069[warn] | unused value of type org.scalatest.Assertion
1070[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:65:8
1071[warn] 65 | c.message shouldBe expectedError.message
1072[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1073[warn] | unused value of type org.scalatest.Assertion
1074[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:66:8
1075[warn] 66 | c.cause.getClass shouldBe expectedError.cause.getClass
1076[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1077[warn] | unused value of type org.scalatest.Assertion
1078[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:67:8
1079[warn] 67 | c.code shouldBe expectedError.code
1080[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1081[warn] | unused value of type org.scalatest.Assertion
1082[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:68:8
1083[warn] 68 | c.param shouldBe expectedError.param
1084[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1085[warn] | unused value of type org.scalatest.Assertion
1086[info] [patched file /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala]
1087[warn] 5 warnings found
1088[info] done compiling
1089[info] compiling 1 Scala source to /build/repo/streaming/fs2/target/jvm-3/test-classes ...
1090[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:64:8
1091[warn] 64 | c.getClass shouldBe expectedError.getClass
1092[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1093[warn] | unused value of type org.scalatest.Assertion
1094[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:65:8
1095[warn] 65 | c.message shouldBe expectedError.message
1096[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1097[warn] | unused value of type org.scalatest.Assertion
1098[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:66:8
1099[warn] 66 | c.cause.getClass shouldBe expectedError.cause.getClass
1100[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1101[warn] | unused value of type org.scalatest.Assertion
1102[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:67:8
1103[warn] 67 | c.code shouldBe expectedError.code
1104[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1105[warn] | unused value of type org.scalatest.Assertion
1106[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:68:8
1107[warn] 68 | c.param shouldBe expectedError.param
1108[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1109[warn] | unused value of type org.scalatest.Assertion
1110[warn] 5 warnings found
1111[info] done compiling
1112
1113************************
1114Build summary:
1115[{
1116 "module": "ox",
1117 "compile": {"status": "ok", "tookMs": 59229, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1118 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1119 "test-compile": {"status": "ok", "tookMs": 25360, "warnings": 6, "errors": 0, "sourceVersion": "3.5-migration"},
1120 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1121 "publish": {"status": "skipped", "tookMs": 0},
1122 "metadata": {
1123 "crossScalaVersions": ["2.12.20"]
1124}
1125},{
1126 "module": "core",
1127 "compile": {"status": "ok", "tookMs": 126, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1128 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1129 "test-compile": {"status": "ok", "tookMs": 188, "warnings": 193, "errors": 0, "sourceVersion": "3.5-migration"},
1130 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1131 "publish": {"status": "skipped", "tookMs": 0},
1132 "metadata": {
1133 "crossScalaVersions": ["2.12.20"]
1134}
1135},{
1136 "module": "zio",
1137 "compile": {"status": "ok", "tookMs": 1106, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1138 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1139 "test-compile": {"status": "ok", "tookMs": 1575, "warnings": 5, "errors": 0, "sourceVersion": "3.5-migration"},
1140 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1141 "publish": {"status": "skipped", "tookMs": 0},
1142 "metadata": {
1143 "crossScalaVersions": ["2.12.20"]
1144}
1145},{
1146 "module": "pekko",
1147 "compile": {"status": "ok", "tookMs": 823, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1148 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1149 "test-compile": {"status": "ok", "tookMs": 1414, "warnings": 5, "errors": 0, "sourceVersion": "3.5-migration"},
1150 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1151 "publish": {"status": "skipped", "tookMs": 0},
1152 "metadata": {
1153 "crossScalaVersions": ["2.12.20"]
1154}
1155},{
1156 "module": "fs2",
1157 "compile": {"status": "ok", "tookMs": 594, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1158 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1159 "test-compile": {"status": "ok", "tookMs": 1395, "warnings": 5, "errors": 0, "sourceVersion": "3.5-migration"},
1160 "test": {"status": "skipped", "tookMs": 0, "passed": 0, "failed": 0, "ignored": 0, "skipped": 0, "total": 0, "byFramework": []},
1161 "publish": {"status": "skipped", "tookMs": 0},
1162 "metadata": {
1163 "crossScalaVersions": ["2.12.20"]
1164}
1165}]
1166************************
1167[success] Total time: 104 s (0:01:44.0), completed Jan 13, 2026, 7:20:19 PM
1168[0JChecking patch project/plugins.sbt...
1169Checking patch build.sbt...
1170Applied patch project/plugins.sbt cleanly.
1171Applied patch build.sbt cleanly.
1172Commit migration rewrites
1173Switched to a new branch 'opencb/migrate-source-3.5'
1174[opencb/migrate-source-3.5 ed672e0] Apply Scala compiler rewrites using -source:3.5-migration using Scala 3.7.4
1175 8 files changed, 12 insertions(+), 13 deletions(-)
1176----
1177Preparing build for 3.8.1-RC1
1178Scala binary version found: 3.8
1179Implicitly using source version 3.8
1180Scala binary version found: 3.8
1181Implicitly using source version 3.8
1182Would try to apply common scalacOption (best-effort, sbt/mill only):
1183Append: ,REQUIRE:-source:3.8
1184Remove: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
1185
1186Try apply source patch:
1187Path: build.sbt
1188Pattern: val scala3 = List("3.3.6")
1189Replacement: val scala3 = List("3.8.1-RC1")
1190Successfully applied pattern 'val scala3 = List("3.3.6")' in build.sbt
1191----
1192Starting build for 3.8.1-RC1
1193Execute tests: true
1194sbt project found:
1195No prepare script found for project softwaremill/sttp-ai
1196##################################
1197Scala version: 3.8.1-RC1
1198Targets: com.softwaremill.sttp.openai%core com.softwaremill.sttp.openai%fs2 com.softwaremill.sttp.openai%ox com.softwaremill.sttp.openai%pekko com.softwaremill.sttp.openai%zio
1199Project projectConfig: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.5"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = List(\"3.3.6\")","replaceWith":"val scala3 = List(\"<SCALA_VERSION>\")"}]}
1200##################################
1201Using extra scalacOptions: ,REQUIRE:-source:3.8
1202Filtering out scalacOptions: ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
1203[sbt_options] declare -a sbt_options=()
1204[process_args] java_version = '21'
1205[copyRt] java9_rt = '/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21/rt.jar'
1206# Executing command line:
1207java
1208-Dfile.encoding=UTF-8
1209-Dcommunitybuild.scala=3.8.1-RC1
1210-Dcommunitybuild.project.dependencies.add=
1211-Xmx7G
1212-Xms4G
1213-Xss8M
1214-Dsbt.script=/root/.sdkman/candidates/sbt/current/bin/sbt
1215-Dscala.ext.dirs=/root/.sbt/1.0/java9-rt-ext-eclipse_adoptium_21
1216-jar
1217/root/.sdkman/candidates/sbt/1.11.5/bin/sbt-launch.jar
1218"setCrossScalaVersions 3.8.1-RC1"
1219"++3.8.1-RC1 -v"
1220"mapScalacOptions ",REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s" ",-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e""
1221"set every credentials := Nil"
1222"excludeLibraryDependency com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}"
1223"removeScalacOptionsStartingWith -P:wartremover"
1224
1225moduleMappings
1226"runBuild 3.8.1-RC1 """{"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.5"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = List(\"3.3.6\")","replaceWith":"val scala3 = List(\"<SCALA_VERSION>\")"}]}""" com.softwaremill.sttp.openai%core com.softwaremill.sttp.openai%fs2 com.softwaremill.sttp.openai%ox com.softwaremill.sttp.openai%pekko com.softwaremill.sttp.openai%zio"
1227
1228[info] welcome to sbt 1.11.5 (Eclipse Adoptium Java 21)
1229[info] loading settings for project repo-build from akka.sbt, plugins.sbt...
1230[info] loading project definition from /build/repo/project
1231[info] loading settings for project root from build.sbt...
1232[info] resolving key references (11833 settings) ...
1233[info] set current project to sttp-openai (in build file:/build/repo/)
1234Execute setCrossScalaVersions: 3.8.1-RC1
1235OpenCB::Changing crossVersion 3.8.1-RC1 -> 3.8.1-RC1 in examples3/crossScalaVersions
1236OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1) in examples3/crossScalaVersions
1237OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in fs2/crossScalaVersions
1238OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in core/crossScalaVersions
1239OpenCB::Changing crossVersion 3.8.1-RC1 -> 3.8.1-RC1 in ox3/crossScalaVersions
1240OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1) in ox3/crossScalaVersions
1241OpenCB::Changing crossVersion 3.8.1-RC1 -> 3.8.1-RC1 in core3/crossScalaVersions
1242OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1) in core3/crossScalaVersions
1243OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in pekko/crossScalaVersions
1244OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in akka/crossScalaVersions
1245OpenCB::Changing crossVersion 3.8.1-RC1 -> 3.8.1-RC1 in fs23/crossScalaVersions
1246OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1) in fs23/crossScalaVersions
1247OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in docs/crossScalaVersions
1248OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in root/crossScalaVersions
1249OpenCB::Changing crossVersion 3.8.1-RC1 -> 3.8.1-RC1 in zio3/crossScalaVersions
1250OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1) in zio3/crossScalaVersions
1251OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in zio/crossScalaVersions
1252OpenCB::Changing crossVersion 3.8.1-RC1 -> 3.8.1-RC1 in pekko3/crossScalaVersions
1253OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.1-RC1) in pekko3/crossScalaVersions
1254[info] set current project to sttp-openai (in build file:/build/repo/)
1255[info] Setting Scala version to 3.8.1-RC1 on 6 projects.
1256[info] Switching Scala version on:
1257[info] core3 (3.8.1-RC1)
1258[info] pekko3 (3.8.1-RC1)
1259[info] zio3 (3.8.1-RC1)
1260[info] ox3 (3.8.1-RC1)
1261[info] fs23 (3.8.1-RC1)
1262[info] examples3 (3.8.1-RC1)
1263[info] Excluding projects:
1264[info] fs2 (2.13.16)
1265[info] * root (2.13.16)
1266[info] akka (2.13.16)
1267[info] docs (2.13.16)
1268[info] zio (2.13.16)
1269[info] pekko (2.13.16)
1270[info] core (2.13.16)
1271[info] Reapplying settings...
1272[info] set current project to sttp-openai (in build file:/build/repo/)
1273Execute mapScalacOptions: ,REQUIRE:-source:3.8,-Wconf:msg=can be rewritten automatically under:s ,-deprecation,-feature,-Xfatal-warnings,-Werror,MATCH:.*-Wconf.*any:e
1274[info] Reapplying settings...
1275[info] set current project to sttp-openai (in build file:/build/repo/)
1276[info] Defining Global / credentials, akka / credentials and 11 others.
1277[info] The new values will be used by Compile / scalafmtOnly, Global / pgpSelectPassphrase and 103 others.
1278[info] Run `last` for details.
1279[info] Reapplying settings...
1280[info] set current project to sttp-openai (in build file:/build/repo/)
1281Execute excludeLibraryDependency: com.github.ghik:zerowaste_{scalaVersion} com.olegpy:better-monadic-for_3 org.polyvariant:better-tostring_{scalaVersion} org.wartremover:wartremover_{scalaVersion}
1282[info] Reapplying settings...
1283OpenCB::Failed to reapply settings in excludeLibraryDependency: Reference to undefined setting:
1284
1285 Global / allExcludeDependencies from Global / allExcludeDependencies (CommunityBuildPlugin.scala:331)
1286 Did you mean allExcludeDependencies ?
1287 , retry without global scopes
1288[info] Reapplying settings...
1289[info] set current project to sttp-openai (in build file:/build/repo/)
1290Execute removeScalacOptionsStartingWith: -P:wartremover
1291[info] Reapplying settings...
1292[info] set current project to sttp-openai (in build file:/build/repo/)
1293[success] Total time: 0 s, completed Jan 13, 2026, 7:20:38 PM
1294Build config: {"projects":{"exclude":[],"overrides":{}},"java":{"version":"21"},"sbt":{"commands":[],"options":[]},"mill":{"options":[]},"tests":"full","migrationVersions":["3.5"],"sourcePatches":[{"path":"build.sbt","pattern":"val scala3 = List(\"3.3.6\")","replaceWith":"val scala3 = List(\"<SCALA_VERSION>\")"}]}
1295Parsed config: Success(ProjectBuildConfig(ProjectsConfig(List(),Map()),Full,List()))
1296Starting build...
1297Projects: Set(core3, pekko3, zio3, ox3, fs23)
1298Starting build for ProjectRef(file:/build/repo/,ox3) (ox)... [0/5]
1299OpenCB::Exclude Scala3 specific scalacOption `REQUIRE:-source:3.8` in Scala 2.12.20 module Global
1300OpenCB::Filter out '-deprecation', matches setting pattern '^-?-deprecation'
1301OpenCB::Filter out '-feature', matches setting pattern '^-?-feature'
1302Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
1303[info] compiling 86 Scala sources to /build/repo/core/target/jvm-3/classes ...
1304[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/sttp/openai/OpenAI.scala:26:74
1305[warn] 26 |import sttp.openai.requests.completions.chat.{ListMessagesQueryParameters => _}
1306[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1307[warn] | unused import
1308[warn] -- [E198] Unused Symbol Warning: /build/repo/core/src/main/scala/sttp/openai/OpenAISyncClient.scala:23:74
1309[warn] 23 |import sttp.openai.requests.completions.chat.{ListMessagesQueryParameters => _}
1310[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1311[warn] | unused import
1312[warn] there were 4 deprecation warnings; re-run with -deprecation for details
1313[warn] three warnings found
1314[info] done compiling
1315[info] compiling 1 Scala source to /build/repo/streaming/ox/target/jvm-3/classes ...
1316[info] done compiling
1317[info] compiling 54 Scala sources to /build/repo/core/target/jvm-3/test-classes ...
1318[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:73:6
1319[warn] 73 | models should not be null
1320[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
1321[warn] | unused value of type org.scalatest.Assertion
1322[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:74:6
1323[warn] 74 | models.`object` shouldBe "list"
1324[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1325[warn] | unused value of type org.scalatest.Assertion
1326[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:75:6
1327[warn] 75 | models.data should not be empty
1328[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1329[warn] | unused value of type org.scalatest.Assertion
1330[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:77:8
1331[warn] 77 | model.id should not be empty
1332[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1333[warn] | unused value of type org.scalatest.Assertion
1334[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:78:8
1335[warn] 78 | model.`object` shouldBe "model"
1336[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1337[warn] | unused value of type org.scalatest.Assertion
1338[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:93:6
1339[warn] 93 | model should not be null
1340[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
1341[warn] | unused value of type org.scalatest.Assertion
1342[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:94:6
1343[warn] 94 | model.id shouldBe modelId
1344[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
1345[warn] | unused value of type org.scalatest.Assertion
1346[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:95:6
1347[warn] 95 | model.`object` shouldBe "model"
1348[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1349[warn] | unused value of type org.scalatest.Assertion
1350[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:96:6
1351[warn] 96 | model.ownedBy should not be empty
1352[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1353[warn] | unused value of type org.scalatest.Assertion
1354[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:110:6
1355[warn] 110 | moderation should not be null
1356[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1357[warn] | unused value of type org.scalatest.Assertion
1358[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:111:6
1359[warn] 111 | moderation.id should not be empty
1360[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1361[warn] | unused value of type org.scalatest.Assertion
1362[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:112:6
1363[warn] 112 | moderation.model.value should not be empty
1364[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1365[warn] | unused value of type org.scalatest.Assertion
1366[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:113:6
1367[warn] 113 | moderation.results should not be empty
1368[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1369[warn] | unused value of type org.scalatest.Assertion
1370[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:114:6
1371[warn] 114 | moderation.results.head.flagged shouldBe false // Harmless text should not be flagged
1372[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1373[warn] | unused value of type org.scalatest.Assertion
1374[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:115:6
1375[warn] 115 | moderation.results.head.categories should not be null
1376[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1377[warn] | unused value of type org.scalatest.Assertion
1378[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:129:6
1379[warn] 129 | moderation should not be null
1380[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1381[warn] | unused value of type org.scalatest.Assertion
1382[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:130:6
1383[warn] 130 | moderation.results should not be empty
1384[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1385[warn] | unused value of type org.scalatest.Assertion
1386[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:133:6
1387[warn] 133 | moderation.results.head.categories should not be null
1388[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1389[warn] | unused value of type org.scalatest.Assertion
1390[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:134:6
1391[warn] 134 | moderation.results.head.categoryScores should not be null
1392[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1393[warn] | unused value of type org.scalatest.Assertion
1394[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:151:6
1395[warn] 151 | embeddings should not be null
1396[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1397[warn] | unused value of type org.scalatest.Assertion
1398[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:152:6
1399[warn] 152 | embeddings.`object` shouldBe "list"
1400[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1401[warn] | unused value of type org.scalatest.Assertion
1402[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:153:6
1403[warn] 153 | embeddings.model.value should not be empty
1404[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1405[warn] | unused value of type org.scalatest.Assertion
1406[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:154:6
1407[warn] 154 | embeddings.data should not be empty
1408[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1409[warn] | unused value of type org.scalatest.Assertion
1410[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:155:6
1411[warn] 155 | embeddings.data.head.`object` shouldBe "embedding"
1412[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1413[warn] | unused value of type org.scalatest.Assertion
1414[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:156:6
1415[warn] 156 | embeddings.data.head.embedding should not be empty
1416[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1417[warn] | unused value of type org.scalatest.Assertion
1418[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:157:6
1419[warn] 157 | embeddings.data.head.index shouldBe 0
1420[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1421[warn] | unused value of type org.scalatest.Assertion
1422[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:158:6
1423[warn] 158 | embeddings.usage should not be null
1424[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1425[warn] | unused value of type org.scalatest.Assertion
1426[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:159:6
1427[warn] 159 | embeddings.usage.totalTokens should be > 0
1428[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1429[warn] | unused value of type org.scalatest.Assertion
1430[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:181:6
1431[warn] 181 | response should not be null
1432[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
1433[warn] | unused value of type org.scalatest.Assertion
1434[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:182:6
1435[warn] 182 | response.id should not be empty
1436[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1437[warn] | unused value of type org.scalatest.Assertion
1438[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:183:6
1439[warn] 183 | response.`object` shouldBe "chat.completion"
1440[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1441[warn] | unused value of type org.scalatest.Assertion
1442[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:184:6
1443[warn] 184 | response.model should not be empty
1444[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1445[warn] | unused value of type org.scalatest.Assertion
1446[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:185:6
1447[warn] 185 | response.choices should not be empty
1448[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1449[warn] | unused value of type org.scalatest.Assertion
1450[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:186:6
1451[warn] 186 | response.choices.head.message.role.value shouldBe "assistant"
1452[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1453[warn] | unused value of type org.scalatest.Assertion
1454[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:187:6
1455[warn] 187 | response.choices.head.message.content should not be empty
1456[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1457[warn] | unused value of type org.scalatest.Assertion
1458[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:188:6
1459[warn] 188 | response.usage should not be null
1460[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1461[warn] | unused value of type org.scalatest.Assertion
1462[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:189:6
1463[warn] 189 | response.usage.totalTokens should be > 0
1464[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1465[warn] | unused value of type org.scalatest.Assertion
1466[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:190:6
1467[warn] 190 | response.usage.totalTokens should be <= 20 // Should be very low due to our constraints
1468[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1469[warn] | unused value of type org.scalatest.Assertion
1470[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:206:6
1471[warn] 206 | createdResponse should not be null
1472[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1473[warn] | unused value of type org.scalatest.Assertion
1474[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:207:6
1475[warn] 207 | createdResponse.id should not be empty
1476[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1477[warn] | unused value of type org.scalatest.Assertion
1478[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:208:6
1479[warn] 208 | createdResponse.`object` shouldBe "response"
1480[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1481[warn] | unused value of type org.scalatest.Assertion
1482[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:209:6
1483[warn] 209 | createdResponse.status shouldBe "completed"
1484[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1485[warn] | unused value of type org.scalatest.Assertion
1486[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:210:6
1487[warn] 210 | createdResponse.output should not be empty
1488[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1489[warn] | unused value of type org.scalatest.Assertion
1490[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:211:6
1491[warn] 211 | createdResponse.output.head should be(a[sttp.openai.requests.responses.ResponsesResponseBody.OutputItem.OutputMessage])
1492[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1493[warn] | unused value of type org.scalatest.Assertion
1494[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:212:6
1495[warn] 212 | createdResponse.createdAt should be > 0L
1496[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1497[warn] | unused value of type org.scalatest.Assertion
1498[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:215:6
1499[warn] 215 | createdResponse.usage should not be null
1500[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1501[warn] | unused value of type org.scalatest.Assertion
1502[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:227:6
1503[warn] 227 | retrievedResponse should not be null
1504[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1505[warn] | unused value of type org.scalatest.Assertion
1506[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:228:6
1507[warn] 228 | retrievedResponse.id shouldBe createdResponse.id
1508[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1509[warn] | unused value of type org.scalatest.Assertion
1510[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:229:6
1511[warn] 229 | retrievedResponse.`object` shouldBe "response"
1512[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1513[warn] | unused value of type org.scalatest.Assertion
1514[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:230:6
1515[warn] 230 | retrievedResponse.status shouldBe "completed"
1516[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1517[warn] | unused value of type org.scalatest.Assertion
1518[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:231:6
1519[warn] 231 | retrievedResponse.output should not be empty
1520[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1521[warn] | unused value of type org.scalatest.Assertion
1522[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:232:6
1523[warn] 232 | retrievedResponse.model shouldBe createdResponse.model
1524[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1525[warn] | unused value of type org.scalatest.Assertion
1526[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:233:6
1527[warn] 233 | retrievedResponse.createdAt shouldBe createdResponse.createdAt
1528[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1529[warn] | unused value of type org.scalatest.Assertion
1530[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:242:6
1531[warn] 242 | inputItems should not be null
1532[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1533[warn] | unused value of type org.scalatest.Assertion
1534[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:243:6
1535[warn] 243 | inputItems.`object` shouldBe "list"
1536[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1537[warn] | unused value of type org.scalatest.Assertion
1538[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:244:6
1539[warn] 244 | inputItems.data should not be empty
1540[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1541[warn] | unused value of type org.scalatest.Assertion
1542[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:249:6
1543[warn] 249 | userInputMessage should be(defined)
1544[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1545[warn] | unused value of type org.scalatest.Assertion
1546[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:252:6
1547[warn] 252 | inputMessage.role shouldBe "user"
1548[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1549[warn] | unused value of type org.scalatest.Assertion
1550[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:258:6
1551[warn] 258 | textContent should be(defined)
1552[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1553[warn] | unused value of type org.scalatest.Assertion
1554[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:261:6
1555[warn] 261 | inputText.text shouldBe "Hi"
1556[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1557[warn] | unused value of type org.scalatest.Assertion
1558[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:267:6
1559[warn] 267 | deleteResult should not be null
1560[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1561[warn] | unused value of type org.scalatest.Assertion
1562[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:268:6
1563[warn] 268 | deleteResult.deleted shouldBe true
1564[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1565[warn] | unused value of type org.scalatest.Assertion
1566[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:269:6
1567[warn] 269 | deleteResult.id shouldBe createdResponse.id
1568[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1569[warn] | unused value of type org.scalatest.Assertion
1570[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:270:6
1571[warn] 270 | deleteResult.`object` shouldBe "response.deleted"
1572[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1573[warn] | unused value of type org.scalatest.Assertion
1574[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:282:4
1575[warn] 282 | exception.message.getOrElse("") should include("API key")
1576[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1577[warn] | unused value of type org.scalatest.Assertion
1578[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:305:6
1579[warn] 305 | results.count(_.isSuccess) should be >= 1
1580[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1581[warn] | unused value of type org.scalatest.Assertion
1582[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:326:6
1583[warn] 326 | models should not be null
1584[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
1585[warn] | unused value of type org.scalatest.Assertion
1586[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/integration/OpenAIIntegrationSpec.scala:327:6
1587[warn] 327 | models.data should not be empty
1588[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1589[warn] | unused value of type org.scalatest.Assertion
1590[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/completions/chat/ToolSpec.scala:43:4
1591[warn] 43 | serialized shouldBe expectedJson
1592[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1593[warn] | unused value of type org.scalatest.Assertion
1594[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/completions/chat/ToolSpec.scala:61:4
1595[warn] 61 | serialized shouldBe expectedJson
1596[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1597[warn] | unused value of type org.scalatest.Assertion
1598[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/completions/chat/ToolSpec.scala:64:4
1599[warn] 64 | deserialized.strict should contain(true)
1600[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1601[warn] | unused value of type org.scalatest.Assertion
1602[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:15:4
1603[warn] 15 | part.name shouldBe name
1604[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
1605[warn] | unused value of type org.scalatest.Assertion
1606[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:16:4
1607[warn] 16 | part.body shouldBe a[FileBody]
1608[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1609[warn] | unused value of type org.scalatest.Assertion
1610[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:17:4
1611[warn] 17 | part.headers should contain(sttp.model.Header("Content-Type", "application/octet-stream"))
1612[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1613[warn] | unused value of type org.scalatest.Assertion
1614[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:23:4
1615[warn] 23 | part.name shouldBe name
1616[warn] | ^^^^^^^^^^^^^^^^^^^^^^^
1617[warn] | unused value of type org.scalatest.Assertion
1618[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:24:4
1619[warn] 24 | part.body shouldBe a[StringBody]
1620[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1621[warn] | unused value of type org.scalatest.Assertion
1622[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:25:4
1623[warn] 25 | part.body.asInstanceOf[StringBody].s shouldBe value
1624[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1625[warn] | unused value of type org.scalatest.Assertion
1626[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:39:4
1627[warn] 39 | parts should have size 2
1628[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^
1629[warn] | unused value of type org.scalatest.Assertion
1630[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:41:17
1631[warn] 41 | checkFilePart(parts, "image", config.image.head)
1632[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1633[warn] | unused value of type org.scalatest.Assertion
1634[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:42:4
1635[warn] 42 | parts.find(_.name == "image[]") shouldBe None
1636[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1637[warn] | unused value of type org.scalatest.Assertion
1638[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:56:4
1639[warn] 56 | parts should have size 15
1640[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
1641[warn] | unused value of type org.scalatest.Assertion
1642[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:58:17
1643[warn] 58 | checkFilePart(parts, "image", config.image.head)
1644[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1645[warn] | unused value of type org.scalatest.Assertion
1646[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:59:4
1647[warn] 59 | parts.find(_.name == "image[]") shouldBe None
1648[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1649[warn] | unused value of type org.scalatest.Assertion
1650[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:60:17
1651[warn] 60 | checkFilePart(parts, "mask", config.mask.get)
1652[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1653[warn] | unused value of type org.scalatest.Assertion
1654[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:62:19
1655[warn] 62 | checkStringPart(parts, "prompt", config.prompt)
1656[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1657[warn] | unused value of type org.scalatest.Assertion
1658[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:63:19
1659[warn] 63 | checkStringPart(parts, "background", "transparent")
1660[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1661[warn] | unused value of type org.scalatest.Assertion
1662[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:64:19
1663[warn] 64 | checkStringPart(parts, "input_fidelity", "high")
1664[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1665[warn] | unused value of type org.scalatest.Assertion
1666[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:65:19
1667[warn] 65 | checkStringPart(parts, "model", "gpt-image-1")
1668[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1669[warn] | unused value of type org.scalatest.Assertion
1670[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:66:19
1671[warn] 66 | checkStringPart(parts, "n", "2")
1672[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1673[warn] | unused value of type org.scalatest.Assertion
1674[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:67:19
1675[warn] 67 | checkStringPart(parts, "output_compression", "80")
1676[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1677[warn] | unused value of type org.scalatest.Assertion
1678[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:68:19
1679[warn] 68 | checkStringPart(parts, "output_format", "png")
1680[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1681[warn] | unused value of type org.scalatest.Assertion
1682[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:69:19
1683[warn] 69 | checkStringPart(parts, "partial_images", "2")
1684[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1685[warn] | unused value of type org.scalatest.Assertion
1686[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:70:19
1687[warn] 70 | checkStringPart(parts, "quality", "high")
1688[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1689[warn] | unused value of type org.scalatest.Assertion
1690[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:71:19
1691[warn] 71 | checkStringPart(parts, "size", "1024x1024")
1692[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1693[warn] | unused value of type org.scalatest.Assertion
1694[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:72:19
1695[warn] 72 | checkStringPart(parts, "response_format", "url")
1696[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1697[warn] | unused value of type org.scalatest.Assertion
1698[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:73:19
1699[warn] 73 | checkStringPart(parts, "stream", "false")
1700[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1701[warn] | unused value of type org.scalatest.Assertion
1702[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:87:4
1703[warn] 87 | parts should have size 16
1704[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
1705[warn] | unused value of type org.scalatest.Assertion
1706[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:89:4
1707[warn] 89 | parts.find(_.name == "image") shouldBe None
1708[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1709[warn] | unused value of type org.scalatest.Assertion
1710[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:92:4
1711[warn] 92 | imageParts should have size 2
1712[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1713[warn] | unused value of type org.scalatest.Assertion
1714[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:111:4
1715[warn] 111 | parts.map(_.name) should not contain "background"
1716[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1717[warn] | unused value of type org.scalatest.Assertion
1718[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:112:4
1719[warn] 112 | parts.map(_.name) should not contain "input_fidelity"
1720[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1721[warn] | unused value of type org.scalatest.Assertion
1722[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:113:4
1723[warn] 113 | parts.map(_.name) should not contain "mask"
1724[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1725[warn] | unused value of type org.scalatest.Assertion
1726[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:114:4
1727[warn] 114 | parts.map(_.name) should not contain "model"
1728[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1729[warn] | unused value of type org.scalatest.Assertion
1730[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:115:4
1731[warn] 115 | parts.map(_.name) should not contain "n"
1732[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1733[warn] | unused value of type org.scalatest.Assertion
1734[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:116:4
1735[warn] 116 | parts.map(_.name) should not contain "output_compression"
1736[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1737[warn] | unused value of type org.scalatest.Assertion
1738[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:117:4
1739[warn] 117 | parts.map(_.name) should not contain "output_format"
1740[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1741[warn] | unused value of type org.scalatest.Assertion
1742[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:118:4
1743[warn] 118 | parts.map(_.name) should not contain "partial_images"
1744[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1745[warn] | unused value of type org.scalatest.Assertion
1746[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:119:4
1747[warn] 119 | parts.map(_.name) should not contain "quality"
1748[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1749[warn] | unused value of type org.scalatest.Assertion
1750[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:120:4
1751[warn] 120 | parts.map(_.name) should not contain "size"
1752[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1753[warn] | unused value of type org.scalatest.Assertion
1754[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:121:4
1755[warn] 121 | parts.map(_.name) should not contain "response_format"
1756[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1757[warn] | unused value of type org.scalatest.Assertion
1758[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/images/edit/ImageEditsDataSpec.scala:122:4
1759[warn] 122 | parts.map(_.name) should not contain "stream"
1760[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1761[warn] | unused value of type org.scalatest.Assertion
1762[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:38:4
1763[warn] 38 | deserializedResponse.`object` shouldBe "list"
1764[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1765[warn] | unused value of type org.scalatest.Assertion
1766[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:39:4
1767[warn] 39 | deserializedResponse.firstId shouldBe "msg_abc123"
1768[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1769[warn] | unused value of type org.scalatest.Assertion
1770[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:40:4
1771[warn] 40 | deserializedResponse.lastId shouldBe "msg_abc123"
1772[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1773[warn] | unused value of type org.scalatest.Assertion
1774[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:41:4
1775[warn] 41 | deserializedResponse.hasMore shouldBe false
1776[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1777[warn] | unused value of type org.scalatest.Assertion
1778[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:42:4
1779[warn] 42 | deserializedResponse.data should have size 1
1780[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1781[warn] | unused value of type org.scalatest.Assertion
1782[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:45:4
1783[warn] 45 | inputMessage.id shouldBe "msg_abc123"
1784[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1785[warn] | unused value of type org.scalatest.Assertion
1786[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:46:4
1787[warn] 46 | inputMessage.role shouldBe "user"
1788[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1789[warn] | unused value of type org.scalatest.Assertion
1790[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/InputItemsListDataSpec.scala:47:4
1791[warn] 47 | inputMessage.content should have size 1
1792[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1793[warn] | unused value of type org.scalatest.Assertion
1794[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:285:4
1795[warn] 285 | deserializedResponse.id shouldBe "resp_67ccd3a9da748190baa7f1570fe91ac604becb25c45c1d41"
1796[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1797[warn] | unused value of type org.scalatest.Assertion
1798[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:286:4
1799[warn] 286 | deserializedResponse.model shouldBe GPT4o20240806
1800[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1801[warn] | unused value of type org.scalatest.Assertion
1802[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:287:4
1803[warn] 287 | deserializedResponse.`object` shouldBe "response"
1804[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1805[warn] | unused value of type org.scalatest.Assertion
1806[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:288:4
1807[warn] 288 | deserializedResponse.status shouldBe "completed"
1808[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1809[warn] | unused value of type org.scalatest.Assertion
1810[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:289:4
1811[warn] 289 | deserializedResponse.createdAt shouldBe 1741476777L
1812[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1813[warn] | unused value of type org.scalatest.Assertion
1814[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:290:4
1815[warn] 290 | deserializedResponse.parallelToolCalls shouldBe Some(true)
1816[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1817[warn] | unused value of type org.scalatest.Assertion
1818[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:291:4
1819[warn] 291 | deserializedResponse.temperature shouldBe Some(1.0)
1820[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1821[warn] | unused value of type org.scalatest.Assertion
1822[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:292:4
1823[warn] 292 | deserializedResponse.topP shouldBe Some(1.0)
1824[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1825[warn] | unused value of type org.scalatest.Assertion
1826[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:293:4
1827[warn] 293 | deserializedResponse.truncation shouldBe Some("disabled")
1828[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1829[warn] | unused value of type org.scalatest.Assertion
1830[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:294:4
1831[warn] 294 | deserializedResponse.metadata shouldBe Some(Map.empty)
1832[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1833[warn] | unused value of type org.scalatest.Assertion
1834[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:297:4
1835[warn] 297 | deserializedResponse.usage shouldBe defined
1836[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1837[warn] | unused value of type org.scalatest.Assertion
1838[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:299:4
1839[warn] 299 | usage.inputTokens shouldBe 328
1840[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1841[warn] | unused value of type org.scalatest.Assertion
1842[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:300:4
1843[warn] 300 | usage.outputTokens shouldBe 52
1844[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1845[warn] | unused value of type org.scalatest.Assertion
1846[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:301:4
1847[warn] 301 | usage.totalTokens shouldBe 380
1848[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1849[warn] | unused value of type org.scalatest.Assertion
1850[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:302:4
1851[warn] 302 | usage.inputTokensDetails shouldBe Some(InputTokensDetails(cachedTokens = 0))
1852[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1853[warn] | unused value of type org.scalatest.Assertion
1854[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:303:4
1855[warn] 303 | usage.outputTokensDetails shouldBe Some(OutputTokensDetails(reasoningTokens = Some(0)))
1856[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1857[warn] | unused value of type org.scalatest.Assertion
1858[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:306:4
1859[warn] 306 | deserializedResponse.output should have size 1
1860[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1861[warn] | unused value of type org.scalatest.Assertion
1862[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:308:4
1863[warn] 308 | outputMessage.id shouldBe "msg_67ccd3acc8d48190a77525dc6de64b4104becb25c45c1d41"
1864[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1865[warn] | unused value of type org.scalatest.Assertion
1866[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:309:4
1867[warn] 309 | outputMessage.role shouldBe "assistant"
1868[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1869[warn] | unused value of type org.scalatest.Assertion
1870[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:310:4
1871[warn] 310 | outputMessage.status shouldBe "completed"
1872[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1873[warn] | unused value of type org.scalatest.Assertion
1874[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:311:4
1875[warn] 311 | outputMessage.content should have size 1
1876[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1877[warn] | unused value of type org.scalatest.Assertion
1878[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:314:4
1879[warn] 314 | outputText.text should include("The image depicts a scenic landscape")
1880[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1881[warn] | unused value of type org.scalatest.Assertion
1882[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:327:4
1883[warn] 327 | deserializedResponse.id shouldBe "resp_complex123"
1884[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1885[warn] | unused value of type org.scalatest.Assertion
1886[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:328:4
1887[warn] 328 | deserializedResponse.model shouldBe ResponsesModel.GPT4o
1888[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1889[warn] | unused value of type org.scalatest.Assertion
1890[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:329:4
1891[warn] 329 | deserializedResponse.`object` shouldBe "response"
1892[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1893[warn] | unused value of type org.scalatest.Assertion
1894[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:330:4
1895[warn] 330 | deserializedResponse.status shouldBe "completed"
1896[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1897[warn] | unused value of type org.scalatest.Assertion
1898[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:331:4
1899[warn] 331 | deserializedResponse.createdAt shouldBe 1741476778L
1900[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1901[warn] | unused value of type org.scalatest.Assertion
1902[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:332:4
1903[warn] 332 | deserializedResponse.instructions shouldBe Some(Left("You are a helpful assistant"))
1904[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1905[warn] | unused value of type org.scalatest.Assertion
1906[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:333:4
1907[warn] 333 | deserializedResponse.maxOutputTokens shouldBe Some(2000)
1908[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1909[warn] | unused value of type org.scalatest.Assertion
1910[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:334:4
1911[warn] 334 | deserializedResponse.parallelToolCalls shouldBe Some(false)
1912[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1913[warn] | unused value of type org.scalatest.Assertion
1914[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:335:4
1915[warn] 335 | deserializedResponse.previousResponseId shouldBe Some("prev_resp_123")
1916[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1917[warn] | unused value of type org.scalatest.Assertion
1918[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:336:4
1919[warn] 336 | deserializedResponse.temperature shouldBe Some(0.7)
1920[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1921[warn] | unused value of type org.scalatest.Assertion
1922[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:337:4
1923[warn] 337 | deserializedResponse.topP shouldBe Some(0.9)
1924[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1925[warn] | unused value of type org.scalatest.Assertion
1926[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:338:4
1927[warn] 338 | deserializedResponse.truncation shouldBe Some("auto")
1928[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1929[warn] | unused value of type org.scalatest.Assertion
1930[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:339:4
1931[warn] 339 | deserializedResponse.user shouldBe Some("user123")
1932[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1933[warn] | unused value of type org.scalatest.Assertion
1934[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:340:4
1935[warn] 340 | deserializedResponse.metadata shouldBe Some(
1936[warn] | ^
1937[warn] | unused value of type org.scalatest.Assertion
1938[warn] |
1939[warn] 341 | Map(
1940[warn] 342 |...
1941[warn] 345 | )
1942[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:348:4
1943[warn] 348 | deserializedResponse.usage shouldBe defined
1944[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1945[warn] | unused value of type org.scalatest.Assertion
1946[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:350:4
1947[warn] 350 | usage2.inputTokens shouldBe 500
1948[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1949[warn] | unused value of type org.scalatest.Assertion
1950[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:351:4
1951[warn] 351 | usage2.outputTokens shouldBe 150
1952[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1953[warn] | unused value of type org.scalatest.Assertion
1954[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:352:4
1955[warn] 352 | usage2.totalTokens shouldBe 650
1956[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1957[warn] | unused value of type org.scalatest.Assertion
1958[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:353:4
1959[warn] 353 | usage2.inputTokensDetails shouldBe Some(InputTokensDetails(cachedTokens = 100))
1960[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1961[warn] | unused value of type org.scalatest.Assertion
1962[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:354:4
1963[warn] 354 | usage2.outputTokensDetails shouldBe Some(OutputTokensDetails(reasoningTokens = Some(50)))
1964[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1965[warn] | unused value of type org.scalatest.Assertion
1966[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:357:4
1967[warn] 357 | deserializedResponse.reasoning shouldBe defined
1968[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1969[warn] | unused value of type org.scalatest.Assertion
1970[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:358:4
1971[warn] 358 | deserializedResponse.reasoning.get.effort shouldBe Some("medium")
1972[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1973[warn] | unused value of type org.scalatest.Assertion
1974[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:359:4
1975[warn] 359 | deserializedResponse.reasoning.get.summary shouldBe Some("concise")
1976[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1977[warn] | unused value of type org.scalatest.Assertion
1978[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:362:4
1979[warn] 362 | deserializedResponse.output should have size 3
1980[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1981[warn] | unused value of type org.scalatest.Assertion
1982[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:366:4
1983[warn] 366 | outputMessage.id shouldBe "msg_complex123"
1984[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1985[warn] | unused value of type org.scalatest.Assertion
1986[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:367:4
1987[warn] 367 | outputMessage.role shouldBe "assistant"
1988[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1989[warn] | unused value of type org.scalatest.Assertion
1990[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:368:4
1991[warn] 368 | outputMessage.status shouldBe "completed"
1992[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1993[warn] | unused value of type org.scalatest.Assertion
1994[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:369:4
1995[warn] 369 | outputMessage.content should have size 1
1996[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1997[warn] | unused value of type org.scalatest.Assertion
1998[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:372:4
1999[warn] 372 | outputText.text shouldBe "I'll search for information about machine learning."
2000[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2001[warn] | unused value of type org.scalatest.Assertion
2002[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:373:4
2003[warn] 373 | outputText.annotations should have size 1
2004[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2005[warn] | unused value of type org.scalatest.Assertion
2006[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:376:4
2007[warn] 376 | citation.fileId shouldBe "file-123"
2008[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2009[warn] | unused value of type org.scalatest.Assertion
2010[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:377:4
2011[warn] 377 | citation.filename shouldBe "ml_guide.pdf"
2012[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2013[warn] | unused value of type org.scalatest.Assertion
2014[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:378:4
2015[warn] 378 | citation.index shouldBe 0
2016[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
2017[warn] | unused value of type org.scalatest.Assertion
2018[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:382:4
2019[warn] 382 | fileSearchCall.id shouldBe "call_search123"
2020[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2021[warn] | unused value of type org.scalatest.Assertion
2022[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:383:4
2023[warn] 383 | fileSearchCall.queries shouldBe List("machine learning", "neural networks")
2024[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2025[warn] | unused value of type org.scalatest.Assertion
2026[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:384:4
2027[warn] 384 | fileSearchCall.status shouldBe "completed"
2028[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2029[warn] | unused value of type org.scalatest.Assertion
2030[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:385:4
2031[warn] 385 | fileSearchCall.results shouldBe defined
2032[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2033[warn] | unused value of type org.scalatest.Assertion
2034[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:389:4
2035[warn] 389 | codeCall.id shouldBe "code_call123"
2036[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2037[warn] | unused value of type org.scalatest.Assertion
2038[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:390:4
2039[warn] 390 | codeCall.containerId shouldBe "container_123"
2040[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2041[warn] | unused value of type org.scalatest.Assertion
2042[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:391:4
2043[warn] 391 | codeCall.code shouldBe Some("import numpy as np\nprint('Hello ML')")
2044[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2045[warn] | unused value of type org.scalatest.Assertion
2046[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:392:4
2047[warn] 392 | codeCall.status shouldBe "completed"
2048[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2049[warn] | unused value of type org.scalatest.Assertion
2050[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:445:4
2051[warn] 445 | deserializedResponse.id shouldBe "resp_tool_choice_123"
2052[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2053[warn] | unused value of type org.scalatest.Assertion
2054[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:446:4
2055[warn] 446 | deserializedResponse.model shouldBe ResponsesModel.GPT4o
2056[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2057[warn] | unused value of type org.scalatest.Assertion
2058[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:447:4
2059[warn] 447 | deserializedResponse.status shouldBe "completed"
2060[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2061[warn] | unused value of type org.scalatest.Assertion
2062[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:450:4
2063[warn] 450 | deserializedResponse.toolChoice shouldBe defined
2064[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2065[warn] | unused value of type org.scalatest.Assertion
2066[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:452:4
2067[warn] 452 | toolChoice shouldBe a[ToolChoiceObject.AllowedTools]
2068[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2069[warn] | unused value of type org.scalatest.Assertion
2070[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:455:4
2071[warn] 455 | allowedTools.mode shouldBe "auto"
2072[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2073[warn] | unused value of type org.scalatest.Assertion
2074[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:456:4
2075[warn] 456 | allowedTools.tools should have size 3
2076[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2077[warn] | unused value of type org.scalatest.Assertion
2078[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:460:4
2079[warn] 460 | functionTool shouldBe a[ToolChoiceObject.AllowedTools.ToolDefinition.Function]
2080[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2081[warn] | unused value of type org.scalatest.Assertion
2082[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:462:4
2083[warn] 462 | function.name shouldBe "get_weather"
2084[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2085[warn] | unused value of type org.scalatest.Assertion
2086[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:466:4
2087[warn] 466 | mcpTool shouldBe a[ToolChoiceObject.AllowedTools.ToolDefinition.Mcp]
2088[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2089[warn] | unused value of type org.scalatest.Assertion
2090[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:468:4
2091[warn] 468 | mcp.serverLabel shouldBe "deepwiki"
2092[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2093[warn] | unused value of type org.scalatest.Assertion
2094[warn] 193 warnings found
2095[info] done compiling
2096[info] compiling 1 Scala source to /build/repo/streaming/ox/target/jvm-3/test-classes ...
2097[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:42:6
2098[warn] 42 | caught.getClass shouldBe expectedError.getClass
2099[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2100[warn] | unused value of type org.scalatest.Assertion
2101[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:43:6
2102[warn] 43 | caught.message shouldBe expectedError.message
2103[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2104[warn] | unused value of type org.scalatest.Assertion
2105[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:44:6
2106[warn] 44 | caught.cause.getClass shouldBe expectedError.cause.getClass
2107[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2108[warn] | unused value of type org.scalatest.Assertion
2109[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:45:6
2110[warn] 45 | caught.code shouldBe expectedError.code
2111[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2112[warn] | unused value of type org.scalatest.Assertion
2113[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:46:6
2114[warn] 46 | caught.param shouldBe expectedError.param
2115[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2116[warn] | unused value of type org.scalatest.Assertion
2117[warn] -- [E198] Unused Symbol Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:122:115
2118[warn] 122 | private def assertStreamedCompletion(givenResponse: InputStream, expectedResponse: Seq[ChatChunkResponse])(using Ox) = {
2119[warn] | ^
2120[warn] | unused implicit parameter
2121[warn] 6 warnings found
2122[info] done compiling
2123[info] OxClientSpec:
2124[info] Service response with status code: 429
2125[info] - should return properly deserialized RateLimitException
2126[info] Service response with status code: 400
2127[info] - should return properly deserialized InvalidRequestException
2128[info] Service response with status code: 404
2129[info] - should return properly deserialized InvalidRequestException
2130[info] Service response with status code: 415
2131[info] - should return properly deserialized InvalidRequestException
2132[info] Service response with status code: 401
2133[info] - should return properly deserialized AuthenticationException
2134[info] Service response with status code: 403
2135[info] - should return properly deserialized PermissionException
2136[info] Service response with status code: 409
2137[info] - should return properly deserialized TryAgain
2138[info] Service response with status code: 503
2139[info] - should return properly deserialized ServiceUnavailableException
2140[info] Service response with status code: 410
2141[info] - should return properly deserialized APIException
2142[info] Creating chat completions with failed stream due to invalid deserialization
2143[info] - should return properly deserialized error
2144[info] Creating chat completions with successful response
2145[info] - should ignore empty events and return properly deserialized list of chunks
2146[info] Creating chat completions with successful response
2147[info] - should stop listening after [DONE] event and return properly deserialized list of chunks
2148Starting build for ProjectRef(file:/build/repo/,core3) (core)... [1/5]
2149Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
2150[info] ModelsGetResponseDataSpec:
2151[info] Given deleted model response as Json
2152[info] - should be properly deserialized to case class
2153[info] Given models response as Json
2154[info] - should be properly deserialized to case class
2155[info] AdminApiKeyDataSpec:
2156[info] Given create admin api key request as case class
2157[info] - should be properly serialized to Json
2158[info] Given create admin api key response as Json
2159[info] - should be properly deserialized to case class
2160[info] Given list admin api key response as Json
2161[info] - should be properly deserialized to case class
2162[info] Given delete admin api key response as Json
2163[info] - should be properly deserialized to case class
2164[info] ImageCreationDataSpec:
2165[info] Given image generation response as Json
2166[info] - should be properly deserialized to case class
2167[info] Given a fully populated ImageCreationBody
2168[info] - should serialize to full JSON correctly
2169[info] Given an ImageCreationBody with optional fields set to None
2170[info] - should serialize without those fields
2171[info] Given create image request as case class created with enum values
2172[info] - should be properly serialized to Json
2173[info] Given create image request as case class with different model
2174[info] - should be properly serialized to Json
2175[info] VectorStoreFileDataSpec:
2176[info] Given create vector store file request
2177[info] - should be properly serialized to Json
2178[info] Vector store file search params
2179[info] - should be properly serialized to Json
2180[info] Vector store file response
2181[info] - should be properly deserialized from Json
2182[info] Vector store file response with error
2183[info] - should be properly deserialized from Json
2184[info] Vector store file list response
2185[info] - should be properly deserialized from Json
2186[info] Delete of vector store file response
2187[info] - should be properly deserialized from Json
2188[info] FineTuningDataSpec:
2189[info] Given create fine tuning job request as case class
2190[info] - should be properly serialized to Json
2191[info] Given create fine tuning job response as Json
2192[info] - should be properly deserialized to case class
2193[info] Given list fine tuning jobs response as Json
2194[info] - should be properly deserialized to case class
2195[info] Given list fine tuning job events response as Json
2196[info] - should be properly deserialized to case class
2197[info] Given list fine tuning job checkpoints response as Json
2198[info] - should be properly deserialized to case class
2199[info] ChatDataSpec:
2200[info] Given delete chat completion response as Json
2201[info] - should be properly deserialized to case class
2202[info] Given list chat response as Json
2203[info] - should be properly deserialized to case class
2204[info] Given list message response as Json
2205[info] - should be properly deserialized to case class
2206[info] Given chat completions response as Json
2207[info] - should be properly deserialized to case class
2208[info] Given completions request as case class
2209[info] - should be properly serialized to Json
2210[info] Given update chat completions request as case class
2211[info] - should be properly serialized to Json
2212[info] VectorStoreDataSpec:
2213[info] Given create vector store request
2214[info] - should be properly serialized to Json
2215[info] Given create vector store request with expires
2216[info] - should be properly serialized to Json
2217[info] Given modify vector store request
2218[info] - should be properly serialized to Json
2219[info] Vector store object
2220[info] - should be properly deserialized from Json
2221[info] List of vector stores
2222[info] - should be properly deserialized from Json
2223[info] Delete of vector stores response
2224[info] - should be properly deserialized from Json
2225[info] ThreadMessagesDataSpec:
2226[info] Given create thread message request as case class
2227[info] - should be properly serialized to Json
2228[info] Given create thread message response as Json
2229[info] - should be properly deserialized to case class
2230[info] Given list messages response as Json
2231[info] - should be properly deserialized to case class
2232[info] Given retrieve message response as Json
2233[info] - should be properly deserialized to case class
2234[info] Given modify message response as Json
2235[info] - should be properly deserialized to case class
2236[info] Given delete message response as Json
2237[info] - should be properly deserialized to case class
2238[info] OpenAIIntegrationSpec:
2239[info] OpenAI Models API
2240[info] - should list available models successfully !!! CANCELED !!!
2241[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2242[info] - should retrieve a specific model successfully !!! CANCELED !!!
2243[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2244[info] OpenAI Moderations API
2245[info] - should moderate content successfully !!! CANCELED !!!
2246[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2247[info] - should flag inappropriate content !!! CANCELED !!!
2248[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2249[info] OpenAI Embeddings API
2250[info] - should create embeddings for text successfully !!! CANCELED !!!
2251[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2252[info] OpenAI Chat Completions API
2253[info] - should create a chat completion successfully !!! CANCELED !!!
2254[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2255[info] OpenAI Responses API
2256[info] - should create, retrieve, list input items, and delete a model response successfully !!! CANCELED !!!
2257[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2258[info] OpenAI Error Handling
2259[info] - should throw AuthenticationException for invalid API key
2260[info] - should handle rate limiting gracefully !!! CANCELED !!!
2261[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2262[info] OpenAI Client Integration
2263[info] - should work with custom request modifications !!! CANCELED !!!
2264[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2265[info] ImageEditsDataSpec:
2266[info] imageEdits method
2267[info] - should create correct request with minimal config (single image)
2268[info] imageEdits method
2269[info] - should create correct request with all parameters for single image
2270[info] imageEdits method
2271[info] - should create correct request with multiple images
2272[info] imageEdits method
2273[info] - should handle empty optional parameters
2274[info] FilesResponseDataSpec:
2275[info] Given list files response as Json
2276[info] - should be properly deserialized to case class
2277[info] Given upload file response as Json
2278[info] - should be properly deserialized to case class
2279[info] Given delete file response as Json
2280[info] - should be properly deserialized to case class
2281[info] Given retrieve file response as Json
2282[info] - should be properly deserialized to case class
2283[info] ChatChunkDataSpec:
2284[info] Given chat chunk completions response as Json
2285[info] - should be properly deserialized to case class
2286[info] Given completions request with streaming enabled as case class
2287[info] - should be properly serialized to Json
2288[info] Given chat chunk with usage data
2289[info] - should properly deserialize usage field
2290[info] ToolSpec:
2291[info] Given FunctionTool with schema
2292[info] - should be properly serialized to Json
2293[info] Given FunctionTool with strict flag
2294[info] - should serialize and deserialize properly
2295[info] Given FunctionTool with schema and strict flag
2296[info] - should serialize and deserialize properly
2297[info] Given CustomTool
2298[info] - should serialize properly
2299[info] ModerationsDataSpec:
2300[info] Given create moderation response as Json
2301[info] - should be properly deserialized to case class
2302[info] Unknown moderation model in create response
2303[info] - should be deserialized to case class
2304[info] InputItemsListDataSpec:
2305[info] InputItemsListResponseBody
2306[info] - should deserialize simple input message correctly
2307[info] EmbeddingsDataSpec:
2308[info] Given list files response as Json
2309[info] - should be properly deserialized to case class
2310[info] JsonSchemaSpec:
2311[info] Given string JSON schema
2312[info] - should be properly serialized to Json
2313[info] Given string JSON schema without strict field
2314[info] - should be properly serialized to Json
2315[info] Given number JSON schema
2316[info] - should be properly serialized to Json
2317[info] Given object JSON schema
2318[info] - should be properly serialized to Json
2319[info] Given array JSON schema
2320[info] - should be properly serialized to Json
2321[info] SpeechDataSpec:
2322[info] Given create fine tuning job request as case class
2323[info] - should be properly serialized to Json
2324[info] SyncClientSpec:
2325[info] Service response with status code: 429
2326[info] - should return properly deserialized RateLimitException
2327[info] Service response with status code: 400
2328[info] - should return properly deserialized InvalidRequestException
2329[info] Service response with status code: 404
2330[info] - should return properly deserialized InvalidRequestException
2331[info] Service response with status code: 415
2332[info] - should return properly deserialized InvalidRequestException
2333[info] Service response with status code: 401
2334[info] - should return properly deserialized AuthenticationException
2335[info] Service response with status code: 403
2336[info] - should return properly deserialized PermissionException
2337[info] Service response with status code: 409
2338[info] - should return properly deserialized TryAgain
2339[info] Service response with status code: 503
2340[info] - should return properly deserialized ServiceUnavailableException
2341[info] Service response with status code: 410
2342[info] - should return properly deserialized APIException
2343[info] Fetching models with successful response
2344[info] - should return properly deserialized list of available models
2345[info] Customizing the request
2346[info] - should be additive
2347[info] SerializationHelpersSpec:
2348[info] withFlattenedDiscriminator
2349[info] - should add discriminator field when writing object
2350[info] - should remove discriminator field when reading object
2351[info] withNestedDiscriminatorWriter
2352[info] - should produce writer that wraps object in nested discriminator structure
2353[info] withNestedDiscriminatorReader
2354[info] - should produce reader that extracts object from nested discriminator structure
2355[info] UploadDataSpec:
2356[info] Given upload request body as case class
2357[info] - should be properly serialized to Json
2358[info] Given complete upload request body as case class
2359[info] - should be properly serialized to Json
2360[info] Given upload response as Json
2361[info] - should be properly deserialized to case class
2362[info] Given upload part response as Json
2363[info] - should be properly deserialized to case class
2364[info] CompletionsDataSpec:
2365[info] Given completions response as Json
2366[info] - should be properly deserialized to case class
2367[info] Given ollama completions response as Json
2368[info] - should be properly deserialized to case class
2369[info] Given completions request as case class
2370[info] - should be properly serialized to Json
2371[info] Given completions of MultiplePrompt response as Json
2372[info] - should be properly deserialized to case class
2373[info] Given completions of MultiplePrompt request as case class
2374[info] - should be properly serialized to Json
2375[info] ThreadRunsDataSpec:
2376[info] Given create thread run request as case class
2377[info] - should be properly serialized to Json
2378[info] Given create thread run response as Json
2379[info] - should be properly deserialized to case class
2380[info] Given create thread and run request as case class
2381[info] - should be properly serialized to Json
2382[info] Given create thread and run response as Json
2383[info] - should be properly deserialized to case class
2384[info] Given list runs response as Json
2385[info] - should be properly deserialized to case class
2386[info] Given list run steps response as Json
2387[info] - should be properly deserialized to case class
2388[info] Given retrieve run response as Json
2389[info] - should be properly deserialized to case class
2390[info] Given retrieve run step response as Json
2391[info] - should be properly deserialized to case class
2392[info] Given modify thread run request as case class
2393[info] - should be properly serialized to Json
2394[info] Given modify run response as Json
2395[info] - should be properly deserialized to case class
2396[info] Given submit tool outputs to run request as case class
2397[info] - should be properly serialized to Json
2398[info] Given submit tool outputs to run response as Json
2399[info] - should be properly deserialized to case class
2400[info] Given cancel run response as Json
2401[info] - should be properly deserialized to case class
2402[info] BatchDataSpec:
2403[info] Given create batch request as case class
2404[info] - should be properly serialized to Json
2405[info] Given create batch response as Json
2406[info] - should be properly deserialized to case class
2407[info] Given list batch response as Json
2408[info] - should be properly deserialized to case class
2409[info] AudioCreationDataSpec:
2410[info] Given audio generation response as Json
2411[info] - should be properly deserialized to case class
2412[info] AssistantsDataSpec:
2413[info] Given create assistant request
2414[info] - should be properly serialized to Json
2415[info] Given create assistant response as Json
2416[info] - should be properly deserialized to case class
2417[info] Given list assistants response as Json
2418[info] - should be properly deserialized to case class
2419[info] Given list assistant files response as Json
2420[info] - should be properly deserialized to case class
2421[info] Given retrieve assistant response as Json
2422[info] - should be properly deserialized to case class
2423[info] Given modify assistant request
2424[info] - should be properly serialized to Json
2425[info] Given modify assistant response as Json
2426[info] - should be properly deserialized to case class
2427[info] Given delete assistant response as Json
2428[info] - should be properly deserialized to case class
2429[info] ThreadsDataSpec:
2430[info] Given empty create thread request as case class
2431[info] - should be properly serialized to Json
2432[info] Given create threads request with messages and no attachments
2433[info] - should be properly serialized to Json
2434[info] Given create threads request with messages
2435[info] - should be properly serialized to Json
2436[info] Given create threads request with messages and metadata
2437[info] - should be properly serialized to Json
2438[info] Given create empty thread response as Json
2439[info] - should be properly deserialized to case class
2440[info] Given create thread with messages and metadata response as Json
2441[info] - should be properly deserialized to case class
2442[info] Given delete thread response as Json
2443[info] - should be properly deserialized to case class
2444[info] ResponsesDataSpec:
2445[info] Given GetResponseQueryParameters with all fields
2446[info] - should be properly converted to Map
2447[info] Given responses request as case class
2448[info] - should be properly serialized to Json
2449[info] Given responses request with text format
2450[info] - should be properly serialized to Json
2451[info] Given responses request with input message containing text and image
2452[info] - should be properly serialized to Json
2453[info] Given responses request with input message containing text and file
2454[info] - should be properly serialized to Json
2455[info] Given responses request with file search tool call
2456[info] - should be properly serialized to Json
2457[info] Given responses request with file search tool call in progress
2458[info] - should be properly serialized to Json
2459[info] Given responses response with basic output message
2460[info] - should be properly deserialized from Json
2461[info] Given responses response with complex output items
2462[info] - should be properly deserialized from Json
2463[info] Given responses request with computer tool call wait action
2464[info] - should be properly serialized to Json
2465[info] Given responses response with tool_choice set to allowed_tools
2466[info] - should be properly deserialized from Json
2467Starting build for ProjectRef(file:/build/repo/,zio3) (zio)... [2/5]
2468Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
2469[info] compiling 1 Scala source to /build/repo/streaming/zio/target/jvm-3/classes ...
2470[info] done compiling
2471[info] compiling 1 Scala source to /build/repo/streaming/zio/target/jvm-3/test-classes ...
2472[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:67:6
2473[warn] 67 | caught.getClass shouldBe expectedError.getClass
2474[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2475[warn] | unused value of type org.scalatest.Assertion
2476[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:68:6
2477[warn] 68 | caught.message shouldBe expectedError.message
2478[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2479[warn] | unused value of type org.scalatest.Assertion
2480[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:69:6
2481[warn] 69 | caught.cause.getClass shouldBe expectedError.cause.getClass
2482[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2483[warn] | unused value of type org.scalatest.Assertion
2484[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:70:6
2485[warn] 70 | caught.code shouldBe expectedError.code
2486[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2487[warn] | unused value of type org.scalatest.Assertion
2488[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:71:6
2489[warn] 71 | caught.param shouldBe expectedError.param
2490[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2491[warn] | unused value of type org.scalatest.Assertion
2492[warn] 5 warnings found
2493[info] done compiling
2494[info] ZioClientSpec:
2495[info] Creating speech
2496[info] - should return byte stream
2497[info] Service response with status code: 429
2498[info] - should return properly deserialized RateLimitException
2499[info] Service response with status code: 400
2500[info] - should return properly deserialized InvalidRequestException
2501[info] Service response with status code: 404
2502[info] - should return properly deserialized InvalidRequestException
2503[info] Service response with status code: 415
2504[info] - should return properly deserialized InvalidRequestException
2505[info] Service response with status code: 401
2506[info] - should return properly deserialized AuthenticationException
2507[info] Service response with status code: 403
2508[info] - should return properly deserialized PermissionException
2509[info] Service response with status code: 409
2510[info] - should return properly deserialized TryAgain
2511[info] Service response with status code: 503
2512[info] - should return properly deserialized ServiceUnavailableException
2513[info] Service response with status code: 410
2514[info] - should return properly deserialized APIException
2515[info] Creating chat completions with failed stream due to invalid deserialization
2516[info] - should return properly deserialized error
2517[info] Creating chat completions with successful response
2518[info] - should ignore empty events and return properly deserialized list of chunks
2519[info] Creating chat completions with successful response
2520[info] - should stop listening after [DONE] event and return properly deserialized list of chunks
2521Starting build for ProjectRef(file:/build/repo/,pekko3) (pekko)... [3/5]
2522Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
2523[info] compiling 1 Scala source to /build/repo/streaming/pekko/target/jvm-3/classes ...
2524[info] done compiling
2525[info] compiling 1 Scala source to /build/repo/streaming/pekko/target/jvm-3/test-classes ...
2526[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:66:8
2527[warn] 66 | c.getClass shouldBe expectedError.getClass
2528[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2529[warn] | unused value of type org.scalatest.Assertion
2530[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:67:8
2531[warn] 67 | c.message shouldBe expectedError.message
2532[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2533[warn] | unused value of type org.scalatest.Assertion
2534[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:68:8
2535[warn] 68 | c.cause.getClass shouldBe expectedError.cause.getClass
2536[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2537[warn] | unused value of type org.scalatest.Assertion
2538[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:69:8
2539[warn] 69 | c.code shouldBe expectedError.code
2540[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2541[warn] | unused value of type org.scalatest.Assertion
2542[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:70:8
2543[warn] 70 | c.param shouldBe expectedError.param
2544[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2545[warn] | unused value of type org.scalatest.Assertion
2546[warn] 5 warnings found
2547[info] done compiling
2548[info] PekkoClientSpec:
2549[info] Creating speech
2550[info] - should return byte stream
2551[info] Service response with status code: 429
2552[info] - should return properly deserialized RateLimitException
2553[info] Service response with status code: 400
2554[info] - should return properly deserialized InvalidRequestException
2555[info] Service response with status code: 404
2556[info] - should return properly deserialized InvalidRequestException
2557[info] Service response with status code: 415
2558[info] - should return properly deserialized InvalidRequestException
2559[info] Service response with status code: 401
2560[info] - should return properly deserialized AuthenticationException
2561[info] Service response with status code: 403
2562[info] - should return properly deserialized PermissionException
2563[info] Service response with status code: 409
2564[info] - should return properly deserialized TryAgain
2565[info] Service response with status code: 503
2566[info] - should return properly deserialized ServiceUnavailableException
2567[info] Service response with status code: 410
2568[info] - should return properly deserialized APIException
2569[info] Creating chat completions with failed stream due to invalid deserialization
2570[info] - should return properly deserialized error
2571[info] Creating chat completions with successful response
2572[info] - should ignore empty events and return properly deserialized list of chunks
2573[info] Creating chat completions with successful response
2574[info] - should stop listening after [DONE] event and return properly deserialized list of chunks
2575Starting build for ProjectRef(file:/build/repo/,fs23) (fs2)... [4/5]
2576Compile scalacOptions: -encoding, utf8, -unchecked, -language:experimental.macros, -language:higherKinds, -language:implicitConversions, -Xkind-projector, -Wvalue-discard, -Wnonunit-statement, -Wunused:implicits, -Wunused:explicits, -Wunused:imports, -Wunused:locals, -Wunused:params, -Wunused:privates, -Wconf:msg=can be rewritten automatically under:s, -source:3.8
2577[info] compiling 1 Scala source to /build/repo/streaming/fs2/target/jvm-3/classes ...
2578[info] done compiling
2579[info] compiling 1 Scala source to /build/repo/streaming/fs2/target/jvm-3/test-classes ...
2580[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:64:8
2581[warn] 64 | c.getClass shouldBe expectedError.getClass
2582[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2583[warn] | unused value of type org.scalatest.Assertion
2584[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:65:8
2585[warn] 65 | c.message shouldBe expectedError.message
2586[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2587[warn] | unused value of type org.scalatest.Assertion
2588[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:66:8
2589[warn] 66 | c.cause.getClass shouldBe expectedError.cause.getClass
2590[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2591[warn] | unused value of type org.scalatest.Assertion
2592[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:67:8
2593[warn] 67 | c.code shouldBe expectedError.code
2594[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2595[warn] | unused value of type org.scalatest.Assertion
2596[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:68:8
2597[warn] 68 | c.param shouldBe expectedError.param
2598[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2599[warn] | unused value of type org.scalatest.Assertion
2600[warn] 5 warnings found
2601[info] done compiling
2602[info] Fs2ClientSpec:
2603[info] Creating speech
2604[info] - should return byte stream
2605[info] Service response with status code: 429
2606[info] - should return properly deserialized RateLimitException
2607[info] Service response with status code: 400
2608[info] - should return properly deserialized InvalidRequestException
2609[info] Service response with status code: 404
2610[info] - should return properly deserialized InvalidRequestException
2611[info] Service response with status code: 415
2612[info] - should return properly deserialized InvalidRequestException
2613[info] Service response with status code: 401
2614[info] - should return properly deserialized AuthenticationException
2615[info] Service response with status code: 403
2616[info] - should return properly deserialized PermissionException
2617[info] Service response with status code: 409
2618[info] - should return properly deserialized TryAgain
2619[info] Service response with status code: 503
2620[info] - should return properly deserialized ServiceUnavailableException
2621[info] Service response with status code: 410
2622[info] - should return properly deserialized APIException
2623[info] Creating chat completions with failed stream due to invalid deserialization
2624[info] - should return properly deserialized error
2625[info] Creating chat completions with successful response
2626[info] - should ignore empty events and return properly deserialized list of chunks
2627[info] Creating chat completions with successful response
2628[info] - should stop listening after [DONE] event and return properly deserialized list of chunks
2629
2630************************
2631Build summary:
2632[{
2633 "module": "ox",
2634 "compile": {"status": "ok", "tookMs": 59708, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2635 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2636 "test-compile": {"status": "ok", "tookMs": 23390, "warnings": 6, "errors": 0, "sourceVersion": "3.8"},
2637 "test": {"status": "ok", "tookMs": 1426, "passed": 12, "failed": 0, "ignored": 0, "skipped": 0, "total": 12, "byFramework": [{"framework": "unknown", "stats": {"passed": 12, "failed": 0, "ignored": 0, "skipped": 0, "total": 12}}]},
2638 "publish": {"status": "skipped", "tookMs": 0},
2639 "metadata": {
2640 "crossScalaVersions": ["2.12.20"]
2641}
2642},{
2643 "module": "core",
2644 "compile": {"status": "ok", "tookMs": 124, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
2645 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2646 "test-compile": {"status": "ok", "tookMs": 192, "warnings": 193, "errors": 0, "sourceVersion": "3.8"},
2647 "test": {"status": "ok", "tookMs": 1529, "passed": 133, "failed": 9, "ignored": 0, "skipped": 0, "total": 142, "byFramework": [{"framework": "unknown", "stats": {"passed": 133, "failed": 9, "ignored": 0, "skipped": 0, "total": 142}}]},
2648 "publish": {"status": "skipped", "tookMs": 0},
2649 "metadata": {
2650 "crossScalaVersions": ["2.12.20"]
2651}
2652},{
2653 "module": "zio",
2654 "compile": {"status": "ok", "tookMs": 684, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2655 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2656 "test-compile": {"status": "ok", "tookMs": 2147, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
2657 "test": {"status": "ok", "tookMs": 1098, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
2658 "publish": {"status": "skipped", "tookMs": 0},
2659 "metadata": {
2660 "crossScalaVersions": ["2.12.20"]
2661}
2662},{
2663 "module": "pekko",
2664 "compile": {"status": "ok", "tookMs": 757, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2665 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2666 "test-compile": {"status": "ok", "tookMs": 1371, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
2667 "test": {"status": "ok", "tookMs": 1077, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
2668 "publish": {"status": "skipped", "tookMs": 0},
2669 "metadata": {
2670 "crossScalaVersions": ["2.12.20"]
2671}
2672},{
2673 "module": "fs2",
2674 "compile": {"status": "ok", "tookMs": 626, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2675 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2676 "test-compile": {"status": "ok", "tookMs": 1521, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
2677 "test": {"status": "ok", "tookMs": 1115, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
2678 "publish": {"status": "skipped", "tookMs": 0},
2679 "metadata": {
2680 "crossScalaVersions": ["2.12.20"]
2681}
2682}]
2683************************
2684[success] Total time: 104 s (0:01:44.0), completed Jan 13, 2026, 7:22:23 PM
2685[0JChecking patch project/plugins.sbt...
2686Checking patch build.sbt...
2687Applied patch project/plugins.sbt cleanly.
2688Applied patch build.sbt cleanly.