Build Logs
softwaremill/sttp-ai • 3.8.0-RC4:2025-12-22
Errors
43
Warnings
1788
Total Lines
2689
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 7.779s.
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::Changing crossVersion 3.7.4 -> 3.7.4 in examples3/crossScalaVersions
86OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in examples3/crossScalaVersions
87OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in core3/crossScalaVersions
88OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in core3/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::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in pekko/crossScalaVersions
92OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in akka/crossScalaVersions
93OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in fs23/crossScalaVersions
94OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in fs23/crossScalaVersions
95OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in root/crossScalaVersions
96OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in docs/crossScalaVersions
97OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in zio3/crossScalaVersions
98OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in zio3/crossScalaVersions
99OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in zio/crossScalaVersions
100OpenCB::Changing crossVersion 3.7.4 -> 3.7.4 in pekko3/crossScalaVersions
101OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.7.4) in pekko3/crossScalaVersions
102OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in core/crossScalaVersions
103OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in fs2/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 Dec 22, 2025, 5:38:59 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/completions/chat/message/Tool.scala]
160[info] [patched file /build/repo/core/src/main/scala/sttp/openai/requests/responses/Tool.scala]
161[info] [patched file /build/repo/core/src/main/scala/sttp/openai/requests/assistants/Tool.scala]
162[info] [patched file /build/repo/core/src/main/scala/sttp/openai/requests/finetuning/FineTuningJobRequestBody.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/client/SyncClientSpec.scala]
949[info] [patched file /build/repo/core/src/test/scala/sttp/openai/json/SerializationHelpersSpec.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": 50131, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1118 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1119 "test-compile": {"status": "ok", "tookMs": 23105, "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": 68, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1128 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1129 "test-compile": {"status": "ok", "tookMs": 134, "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": 742, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1138 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1139 "test-compile": {"status": "ok", "tookMs": 1116, "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": 507, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1148 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1149 "test-compile": {"status": "ok", "tookMs": 956, "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": 396, "warnings": 0, "errors": 0, "sourceVersion": "3.5-migration"},
1158 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
1159 "test-compile": {"status": "ok", "tookMs": 1263, "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: 137 s (0:02:17.0), completed Dec 22, 2025, 5:41:17 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 6f0f186] 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.0-RC4
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.0-RC4")
1190Successfully applied pattern 'val scala3 = List("3.3.6")' in build.sbt
1191----
1192Starting build for 3.8.0-RC4
1193Execute tests: true
1194sbt project found:
1195No prepare script found for project softwaremill/sttp-ai
1196##################################
1197Scala version: 3.8.0-RC4
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.0-RC4
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.0-RC4"
1219"++3.8.0-RC4 -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.0-RC4 """{"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.0-RC4
1235OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in examples3/crossScalaVersions
1236OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in examples3/crossScalaVersions
1237OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in ox3/crossScalaVersions
1238OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in ox3/crossScalaVersions
1239OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in pekko/crossScalaVersions
1240OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in akka/crossScalaVersions
1241OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in fs23/crossScalaVersions
1242OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in fs23/crossScalaVersions
1243OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in docs/crossScalaVersions
1244OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in root/crossScalaVersions
1245OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in fs2/crossScalaVersions
1246OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in zio/crossScalaVersions
1247OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in zio3/crossScalaVersions
1248OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in zio3/crossScalaVersions
1249OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in core3/crossScalaVersions
1250OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(2.13.16) in core/crossScalaVersions
1251OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in core3/crossScalaVersions
1252OpenCB::Changing crossVersion 3.8.0-RC4 -> 3.8.0-RC4 in pekko3/crossScalaVersions
1253OpenCB::Limitting incorrect crossVersions List(2.12.20) -> List(3.8.0-RC4) in pekko3/crossScalaVersions
1254[info] set current project to sttp-openai (in build file:/build/repo/)
1255[info] Setting Scala version to 3.8.0-RC4 on 6 projects.
1256[info] Switching Scala version on:
1257[info] core3 (3.8.0-RC4)
1258[info] pekko3 (3.8.0-RC4)
1259[info] zio3 (3.8.0-RC4)
1260[info] ox3 (3.8.0-RC4)
1261[info] fs23 (3.8.0-RC4)
1262[info] examples3 (3.8.0-RC4)
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 Dec 22, 2025, 5:41:33 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] 341 | Map(
1939[warn] 342 | "session_id" -> "session_123",
1940[warn] 343 | "experiment" -> "test_run"
1941[warn] 344 | )
1942[warn] 345 | )
1943[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:348:4
1944[warn] 348 | deserializedResponse.usage shouldBe defined
1945[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1946[warn] | unused value of type org.scalatest.Assertion
1947[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:350:4
1948[warn] 350 | usage2.inputTokens shouldBe 500
1949[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1950[warn] | unused value of type org.scalatest.Assertion
1951[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:351:4
1952[warn] 351 | usage2.outputTokens shouldBe 150
1953[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1954[warn] | unused value of type org.scalatest.Assertion
1955[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:352:4
1956[warn] 352 | usage2.totalTokens shouldBe 650
1957[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1958[warn] | unused value of type org.scalatest.Assertion
1959[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:353:4
1960[warn] 353 | usage2.inputTokensDetails shouldBe Some(InputTokensDetails(cachedTokens = 100))
1961[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1962[warn] | unused value of type org.scalatest.Assertion
1963[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:354:4
1964[warn] 354 | usage2.outputTokensDetails shouldBe Some(OutputTokensDetails(reasoningTokens = Some(50)))
1965[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1966[warn] | unused value of type org.scalatest.Assertion
1967[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:357:4
1968[warn] 357 | deserializedResponse.reasoning shouldBe defined
1969[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1970[warn] | unused value of type org.scalatest.Assertion
1971[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:358:4
1972[warn] 358 | deserializedResponse.reasoning.get.effort shouldBe Some("medium")
1973[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1974[warn] | unused value of type org.scalatest.Assertion
1975[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:359:4
1976[warn] 359 | deserializedResponse.reasoning.get.summary shouldBe Some("concise")
1977[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1978[warn] | unused value of type org.scalatest.Assertion
1979[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:362:4
1980[warn] 362 | deserializedResponse.output should have size 3
1981[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1982[warn] | unused value of type org.scalatest.Assertion
1983[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:366:4
1984[warn] 366 | outputMessage.id shouldBe "msg_complex123"
1985[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1986[warn] | unused value of type org.scalatest.Assertion
1987[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:367:4
1988[warn] 367 | outputMessage.role shouldBe "assistant"
1989[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1990[warn] | unused value of type org.scalatest.Assertion
1991[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:368:4
1992[warn] 368 | outputMessage.status shouldBe "completed"
1993[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1994[warn] | unused value of type org.scalatest.Assertion
1995[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:369:4
1996[warn] 369 | outputMessage.content should have size 1
1997[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1998[warn] | unused value of type org.scalatest.Assertion
1999[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:372:4
2000[warn] 372 | outputText.text shouldBe "I'll search for information about machine learning."
2001[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2002[warn] | unused value of type org.scalatest.Assertion
2003[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:373:4
2004[warn] 373 | outputText.annotations should have size 1
2005[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2006[warn] | unused value of type org.scalatest.Assertion
2007[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:376:4
2008[warn] 376 | citation.fileId shouldBe "file-123"
2009[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2010[warn] | unused value of type org.scalatest.Assertion
2011[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:377:4
2012[warn] 377 | citation.filename shouldBe "ml_guide.pdf"
2013[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2014[warn] | unused value of type org.scalatest.Assertion
2015[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:378:4
2016[warn] 378 | citation.index shouldBe 0
2017[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^
2018[warn] | unused value of type org.scalatest.Assertion
2019[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:382:4
2020[warn] 382 | fileSearchCall.id shouldBe "call_search123"
2021[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2022[warn] | unused value of type org.scalatest.Assertion
2023[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:383:4
2024[warn] 383 | fileSearchCall.queries shouldBe List("machine learning", "neural networks")
2025[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2026[warn] | unused value of type org.scalatest.Assertion
2027[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:384:4
2028[warn] 384 | fileSearchCall.status shouldBe "completed"
2029[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2030[warn] | unused value of type org.scalatest.Assertion
2031[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:385:4
2032[warn] 385 | fileSearchCall.results shouldBe defined
2033[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2034[warn] | unused value of type org.scalatest.Assertion
2035[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:389:4
2036[warn] 389 | codeCall.id shouldBe "code_call123"
2037[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2038[warn] | unused value of type org.scalatest.Assertion
2039[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:390:4
2040[warn] 390 | codeCall.containerId shouldBe "container_123"
2041[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2042[warn] | unused value of type org.scalatest.Assertion
2043[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:391:4
2044[warn] 391 | codeCall.code shouldBe Some("import numpy as np\nprint('Hello ML')")
2045[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2046[warn] | unused value of type org.scalatest.Assertion
2047[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:392:4
2048[warn] 392 | codeCall.status shouldBe "completed"
2049[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2050[warn] | unused value of type org.scalatest.Assertion
2051[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:445:4
2052[warn] 445 | deserializedResponse.id shouldBe "resp_tool_choice_123"
2053[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2054[warn] | unused value of type org.scalatest.Assertion
2055[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:446:4
2056[warn] 446 | deserializedResponse.model shouldBe ResponsesModel.GPT4o
2057[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2058[warn] | unused value of type org.scalatest.Assertion
2059[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:447:4
2060[warn] 447 | deserializedResponse.status shouldBe "completed"
2061[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2062[warn] | unused value of type org.scalatest.Assertion
2063[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:450:4
2064[warn] 450 | deserializedResponse.toolChoice shouldBe defined
2065[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2066[warn] | unused value of type org.scalatest.Assertion
2067[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:452:4
2068[warn] 452 | toolChoice shouldBe a[ToolChoiceObject.AllowedTools]
2069[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2070[warn] | unused value of type org.scalatest.Assertion
2071[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:455:4
2072[warn] 455 | allowedTools.mode shouldBe "auto"
2073[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2074[warn] | unused value of type org.scalatest.Assertion
2075[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:456:4
2076[warn] 456 | allowedTools.tools should have size 3
2077[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2078[warn] | unused value of type org.scalatest.Assertion
2079[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:460:4
2080[warn] 460 | functionTool shouldBe a[ToolChoiceObject.AllowedTools.ToolDefinition.Function]
2081[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2082[warn] | unused value of type org.scalatest.Assertion
2083[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:462:4
2084[warn] 462 | function.name shouldBe "get_weather"
2085[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2086[warn] | unused value of type org.scalatest.Assertion
2087[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:466:4
2088[warn] 466 | mcpTool shouldBe a[ToolChoiceObject.AllowedTools.ToolDefinition.Mcp]
2089[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2090[warn] | unused value of type org.scalatest.Assertion
2091[warn] -- [E176] Potential Issue Warning: /build/repo/core/src/test/scala/sttp/openai/requests/responses/ResponsesDataSpec.scala:468:4
2092[warn] 468 | mcp.serverLabel shouldBe "deepwiki"
2093[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2094[warn] | unused value of type org.scalatest.Assertion
2095[warn] 193 warnings found
2096[info] done compiling
2097[info] compiling 1 Scala source to /build/repo/streaming/ox/target/jvm-3/test-classes ...
2098[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:42:6
2099[warn] 42 | caught.getClass shouldBe expectedError.getClass
2100[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2101[warn] | unused value of type org.scalatest.Assertion
2102[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:43:6
2103[warn] 43 | caught.message shouldBe expectedError.message
2104[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2105[warn] | unused value of type org.scalatest.Assertion
2106[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:44:6
2107[warn] 44 | caught.cause.getClass shouldBe expectedError.cause.getClass
2108[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2109[warn] | unused value of type org.scalatest.Assertion
2110[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:45:6
2111[warn] 45 | caught.code shouldBe expectedError.code
2112[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2113[warn] | unused value of type org.scalatest.Assertion
2114[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:46:6
2115[warn] 46 | caught.param shouldBe expectedError.param
2116[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2117[warn] | unused value of type org.scalatest.Assertion
2118[warn] -- [E198] Unused Symbol Warning: /build/repo/streaming/ox/src/test/scala/sttp/openai/streaming/ox/OxClientSpec.scala:122:115
2119[warn] 122 | private def assertStreamedCompletion(givenResponse: InputStream, expectedResponse: Seq[ChatChunkResponse])(using Ox) = {
2120[warn] | ^
2121[warn] | unused implicit parameter
2122[warn] 6 warnings found
2123[info] done compiling
2124[info] OxClientSpec:
2125[info] Service response with status code: 429
2126[info] - should return properly deserialized RateLimitException
2127[info] Service response with status code: 400
2128[info] - should return properly deserialized InvalidRequestException
2129[info] Service response with status code: 404
2130[info] - should return properly deserialized InvalidRequestException
2131[info] Service response with status code: 415
2132[info] - should return properly deserialized InvalidRequestException
2133[info] Service response with status code: 401
2134[info] - should return properly deserialized AuthenticationException
2135[info] Service response with status code: 403
2136[info] - should return properly deserialized PermissionException
2137[info] Service response with status code: 409
2138[info] - should return properly deserialized TryAgain
2139[info] Service response with status code: 503
2140[info] - should return properly deserialized ServiceUnavailableException
2141[info] Service response with status code: 410
2142[info] - should return properly deserialized APIException
2143[info] Creating chat completions with failed stream due to invalid deserialization
2144[info] - should return properly deserialized error
2145[info] Creating chat completions with successful response
2146[info] - should ignore empty events and return properly deserialized list of chunks
2147[info] Creating chat completions with successful response
2148[info] - should stop listening after [DONE] event and return properly deserialized list of chunks
2149Starting build for ProjectRef(file:/build/repo/,core3) (core)... [1/5]
2150Compile 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
2151[info] InputItemsListDataSpec:
2152[info] InputItemsListResponseBody
2153[info] - should deserialize simple input message correctly
2154[info] ModelsGetResponseDataSpec:
2155[info] Given deleted model response as Json
2156[info] - should be properly deserialized to case class
2157[info] Given models response as Json
2158[info] - should be properly deserialized to case class
2159[info] AssistantsDataSpec:
2160[info] Given create assistant request
2161[info] - should be properly serialized to Json
2162[info] Given create assistant response as Json
2163[info] - should be properly deserialized to case class
2164[info] Given list assistants response as Json
2165[info] - should be properly deserialized to case class
2166[info] Given list assistant files response as Json
2167[info] - should be properly deserialized to case class
2168[info] Given retrieve assistant response as Json
2169[info] - should be properly deserialized to case class
2170[info] Given modify assistant request
2171[info] - should be properly serialized to Json
2172[info] Given modify assistant response as Json
2173[info] - should be properly deserialized to case class
2174[info] Given delete assistant response as Json
2175[info] - should be properly deserialized to case class
2176[info] SerializationHelpersSpec:
2177[info] withFlattenedDiscriminator
2178[info] - should add discriminator field when writing object
2179[info] - should remove discriminator field when reading object
2180[info] withNestedDiscriminatorWriter
2181[info] - should produce writer that wraps object in nested discriminator structure
2182[info] withNestedDiscriminatorReader
2183[info] - should produce reader that extracts object from nested discriminator structure
2184[info] AdminApiKeyDataSpec:
2185[info] Given create admin api key request as case class
2186[info] - should be properly serialized to Json
2187[info] Given create admin api key response as Json
2188[info] - should be properly deserialized to case class
2189[info] Given list admin api key response as Json
2190[info] - should be properly deserialized to case class
2191[info] Given delete admin api key response as Json
2192[info] - should be properly deserialized to case class
2193[info] AudioCreationDataSpec:
2194[info] Given audio generation response as Json
2195[info] - should be properly deserialized to case class
2196[info] ThreadRunsDataSpec:
2197[info] Given create thread run request as case class
2198[info] - should be properly serialized to Json
2199[info] Given create thread run response as Json
2200[info] - should be properly deserialized to case class
2201[info] Given create thread and run request as case class
2202[info] - should be properly serialized to Json
2203[info] Given create thread and run response as Json
2204[info] - should be properly deserialized to case class
2205[info] Given list runs response as Json
2206[info] - should be properly deserialized to case class
2207[info] Given list run steps response as Json
2208[info] - should be properly deserialized to case class
2209[info] Given retrieve run response as Json
2210[info] - should be properly deserialized to case class
2211[info] Given retrieve run step response as Json
2212[info] - should be properly deserialized to case class
2213[info] Given modify thread run request as case class
2214[info] - should be properly serialized to Json
2215[info] Given modify run response as Json
2216[info] - should be properly deserialized to case class
2217[info] Given submit tool outputs to run request as case class
2218[info] - should be properly serialized to Json
2219[info] Given submit tool outputs to run response as Json
2220[info] - should be properly deserialized to case class
2221[info] Given cancel run response as Json
2222[info] - should be properly deserialized to case class
2223[info] FilesResponseDataSpec:
2224[info] Given list files response as Json
2225[info] - should be properly deserialized to case class
2226[info] Given upload file response as Json
2227[info] - should be properly deserialized to case class
2228[info] Given delete file response as Json
2229[info] - should be properly deserialized to case class
2230[info] Given retrieve file response as Json
2231[info] - should be properly deserialized to case class
2232[info] ImageCreationDataSpec:
2233[info] Given image generation response as Json
2234[info] - should be properly deserialized to case class
2235[info] Given a fully populated ImageCreationBody
2236[info] - should serialize to full JSON correctly
2237[info] Given an ImageCreationBody with optional fields set to None
2238[info] - should serialize without those fields
2239[info] Given create image request as case class created with enum values
2240[info] - should be properly serialized to Json
2241[info] Given create image request as case class with different model
2242[info] - should be properly serialized to Json
2243[info] ThreadsDataSpec:
2244[info] Given empty create thread request as case class
2245[info] - should be properly serialized to Json
2246[info] Given create threads request with messages and no attachments
2247[info] - should be properly serialized to Json
2248[info] Given create threads request with messages
2249[info] - should be properly serialized to Json
2250[info] Given create threads request with messages and metadata
2251[info] - should be properly serialized to Json
2252[info] Given create empty thread response as Json
2253[info] - should be properly deserialized to case class
2254[info] Given create thread with messages and metadata response as Json
2255[info] - should be properly deserialized to case class
2256[info] Given delete thread response as Json
2257[info] - should be properly deserialized to case class
2258[info] ModerationsDataSpec:
2259[info] Given create moderation response as Json
2260[info] - should be properly deserialized to case class
2261[info] Unknown moderation model in create response
2262[info] - should be deserialized to case class
2263[info] ThreadMessagesDataSpec:
2264[info] Given create thread message request as case class
2265[info] - should be properly serialized to Json
2266[info] Given create thread message response as Json
2267[info] - should be properly deserialized to case class
2268[info] Given list messages response as Json
2269[info] - should be properly deserialized to case class
2270[info] Given retrieve message response as Json
2271[info] - should be properly deserialized to case class
2272[info] Given modify message response as Json
2273[info] - should be properly deserialized to case class
2274[info] Given delete message response as Json
2275[info] - should be properly deserialized to case class
2276[info] ChatChunkDataSpec:
2277[info] Given chat chunk completions response as Json
2278[info] - should be properly deserialized to case class
2279[info] Given completions request with streaming enabled as case class
2280[info] - should be properly serialized to Json
2281[info] Given chat chunk with usage data
2282[info] - should properly deserialize usage field
2283[info] SpeechDataSpec:
2284[info] Given create fine tuning job request as case class
2285[info] - should be properly serialized to Json
2286[info] SyncClientSpec:
2287[info] Service response with status code: 429
2288[info] - should return properly deserialized RateLimitException
2289[info] Service response with status code: 400
2290[info] - should return properly deserialized InvalidRequestException
2291[info] Service response with status code: 404
2292[info] - should return properly deserialized InvalidRequestException
2293[info] Service response with status code: 415
2294[info] - should return properly deserialized InvalidRequestException
2295[info] Service response with status code: 401
2296[info] - should return properly deserialized AuthenticationException
2297[info] Service response with status code: 403
2298[info] - should return properly deserialized PermissionException
2299[info] Service response with status code: 409
2300[info] - should return properly deserialized TryAgain
2301[info] Service response with status code: 503
2302[info] - should return properly deserialized ServiceUnavailableException
2303[info] Service response with status code: 410
2304[info] - should return properly deserialized APIException
2305[info] Fetching models with successful response
2306[info] - should return properly deserialized list of available models
2307[info] Customizing the request
2308[info] - should be additive
2309[info] ToolSpec:
2310[info] Given FunctionTool with schema
2311[info] - should be properly serialized to Json
2312[info] Given FunctionTool with strict flag
2313[info] - should serialize and deserialize properly
2314[info] Given FunctionTool with schema and strict flag
2315[info] - should serialize and deserialize properly
2316[info] Given CustomTool
2317[info] - should serialize properly
2318[info] JsonSchemaSpec:
2319[info] Given string JSON schema
2320[info] - should be properly serialized to Json
2321[info] Given string JSON schema without strict field
2322[info] - should be properly serialized to Json
2323[info] Given number JSON schema
2324[info] - should be properly serialized to Json
2325[info] Given object JSON schema
2326[info] - should be properly serialized to Json
2327[info] Given array JSON schema
2328[info] - should be properly serialized to Json
2329[info] VectorStoreFileDataSpec:
2330[info] Given create vector store file request
2331[info] - should be properly serialized to Json
2332[info] Vector store file search params
2333[info] - should be properly serialized to Json
2334[info] Vector store file response
2335[info] - should be properly deserialized from Json
2336[info] Vector store file response with error
2337[info] - should be properly deserialized from Json
2338[info] Vector store file list response
2339[info] - should be properly deserialized from Json
2340[info] Delete of vector store file response
2341[info] - should be properly deserialized from Json
2342[info] ResponsesDataSpec:
2343[info] Given GetResponseQueryParameters with all fields
2344[info] - should be properly converted to Map
2345[info] Given responses request as case class
2346[info] - should be properly serialized to Json
2347[info] Given responses request with text format
2348[info] - should be properly serialized to Json
2349[info] Given responses request with input message containing text and image
2350[info] - should be properly serialized to Json
2351[info] Given responses request with input message containing text and file
2352[info] - should be properly serialized to Json
2353[info] Given responses request with file search tool call
2354[info] - should be properly serialized to Json
2355[info] Given responses request with file search tool call in progress
2356[info] - should be properly serialized to Json
2357[info] Given responses response with basic output message
2358[info] - should be properly deserialized from Json
2359[info] Given responses response with complex output items
2360[info] - should be properly deserialized from Json
2361[info] Given responses request with computer tool call wait action
2362[info] - should be properly serialized to Json
2363[info] Given responses response with tool_choice set to allowed_tools
2364[info] - should be properly deserialized from Json
2365[info] EmbeddingsDataSpec:
2366[info] Given list files response as Json
2367[info] - should be properly deserialized to case class
2368[info] ImageEditsDataSpec:
2369[info] imageEdits method
2370[info] - should create correct request with minimal config (single image)
2371[info] imageEdits method
2372[info] - should create correct request with all parameters for single image
2373[info] imageEdits method
2374[info] - should create correct request with multiple images
2375[info] imageEdits method
2376[info] - should handle empty optional parameters
2377[info] BatchDataSpec:
2378[info] Given create batch request as case class
2379[info] - should be properly serialized to Json
2380[info] Given create batch response as Json
2381[info] - should be properly deserialized to case class
2382[info] Given list batch response as Json
2383[info] - should be properly deserialized to case class
2384[info] ChatDataSpec:
2385[info] Given delete chat completion response as Json
2386[info] - should be properly deserialized to case class
2387[info] Given list chat response as Json
2388[info] - should be properly deserialized to case class
2389[info] Given list message response as Json
2390[info] - should be properly deserialized to case class
2391[info] Given chat completions response as Json
2392[info] - should be properly deserialized to case class
2393[info] Given completions request as case class
2394[info] - should be properly serialized to Json
2395[info] Given update chat completions request as case class
2396[info] - should be properly serialized to Json
2397[info] VectorStoreDataSpec:
2398[info] Given create vector store request
2399[info] - should be properly serialized to Json
2400[info] Given create vector store request with expires
2401[info] - should be properly serialized to Json
2402[info] Given modify vector store request
2403[info] - should be properly serialized to Json
2404[info] Vector store object
2405[info] - should be properly deserialized from Json
2406[info] List of vector stores
2407[info] - should be properly deserialized from Json
2408[info] Delete of vector stores response
2409[info] - should be properly deserialized from Json
2410[info] FineTuningDataSpec:
2411[info] Given create fine tuning job request as case class
2412[info] - should be properly serialized to Json
2413[info] Given create fine tuning job response as Json
2414[info] - should be properly deserialized to case class
2415[info] Given list fine tuning jobs response as Json
2416[info] - should be properly deserialized to case class
2417[info] Given list fine tuning job events response as Json
2418[info] - should be properly deserialized to case class
2419[info] Given list fine tuning job checkpoints response as Json
2420[info] - should be properly deserialized to case class
2421[info] CompletionsDataSpec:
2422[info] Given completions response as Json
2423[info] - should be properly deserialized to case class
2424[info] Given ollama completions response as Json
2425[info] - should be properly deserialized to case class
2426[info] Given completions request as case class
2427[info] - should be properly serialized to Json
2428[info] Given completions of MultiplePrompt response as Json
2429[info] - should be properly deserialized to case class
2430[info] Given completions of MultiplePrompt request as case class
2431[info] - should be properly serialized to Json
2432[info] UploadDataSpec:
2433[info] Given upload request body as case class
2434[info] - should be properly serialized to Json
2435[info] Given complete upload request body as case class
2436[info] - should be properly serialized to Json
2437[info] Given upload response as Json
2438[info] - should be properly deserialized to case class
2439[info] Given upload part response as Json
2440[info] - should be properly deserialized to case class
2441[info] OpenAIIntegrationSpec:
2442[info] OpenAI Models API
2443[info] - should list available models successfully !!! CANCELED !!!
2444[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2445[info] - should retrieve a specific model successfully !!! CANCELED !!!
2446[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2447[info] OpenAI Moderations API
2448[info] - should moderate content successfully !!! CANCELED !!!
2449[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2450[info] - should flag inappropriate content !!! CANCELED !!!
2451[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2452[info] OpenAI Embeddings API
2453[info] - should create embeddings for text successfully !!! CANCELED !!!
2454[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2455[info] OpenAI Chat Completions API
2456[info] - should create a chat completion successfully !!! CANCELED !!!
2457[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2458[info] OpenAI Responses API
2459[info] - should create, retrieve, list input items, and delete a model response successfully !!! CANCELED !!!
2460[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2461[info] OpenAI Error Handling
2462[info] - should throw AuthenticationException for invalid API key
2463[info] - should handle rate limiting gracefully !!! CANCELED !!!
2464[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2465[info] OpenAI Client Integration
2466[info] - should work with custom request modifications !!! CANCELED !!!
2467[info] OPENAI_API_KEY not defined - skipping integration test (OpenAIIntegrationSpec.scala:56)
2468Starting build for ProjectRef(file:/build/repo/,zio3) (zio)... [2/5]
2469Compile 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
2470[info] compiling 1 Scala source to /build/repo/streaming/zio/target/jvm-3/classes ...
2471[info] done compiling
2472[info] compiling 1 Scala source to /build/repo/streaming/zio/target/jvm-3/test-classes ...
2473[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:67:6
2474[warn] 67 | caught.getClass shouldBe expectedError.getClass
2475[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2476[warn] | unused value of type org.scalatest.Assertion
2477[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:68:6
2478[warn] 68 | caught.message shouldBe expectedError.message
2479[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2480[warn] | unused value of type org.scalatest.Assertion
2481[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:69:6
2482[warn] 69 | caught.cause.getClass shouldBe expectedError.cause.getClass
2483[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2484[warn] | unused value of type org.scalatest.Assertion
2485[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:70:6
2486[warn] 70 | caught.code shouldBe expectedError.code
2487[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2488[warn] | unused value of type org.scalatest.Assertion
2489[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/zio/src/test/scala/sttp/openai/streaming/zio/ZioClientSpec.scala:71:6
2490[warn] 71 | caught.param shouldBe expectedError.param
2491[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2492[warn] | unused value of type org.scalatest.Assertion
2493[warn] 5 warnings found
2494[info] done compiling
2495[info] ZioClientSpec:
2496[info] Creating speech
2497[info] - should return byte stream
2498[info] Service response with status code: 429
2499[info] - should return properly deserialized RateLimitException
2500[info] Service response with status code: 400
2501[info] - should return properly deserialized InvalidRequestException
2502[info] Service response with status code: 404
2503[info] - should return properly deserialized InvalidRequestException
2504[info] Service response with status code: 415
2505[info] - should return properly deserialized InvalidRequestException
2506[info] Service response with status code: 401
2507[info] - should return properly deserialized AuthenticationException
2508[info] Service response with status code: 403
2509[info] - should return properly deserialized PermissionException
2510[info] Service response with status code: 409
2511[info] - should return properly deserialized TryAgain
2512[info] Service response with status code: 503
2513[info] - should return properly deserialized ServiceUnavailableException
2514[info] Service response with status code: 410
2515[info] - should return properly deserialized APIException
2516[info] Creating chat completions with failed stream due to invalid deserialization
2517[info] - should return properly deserialized error
2518[info] Creating chat completions with successful response
2519[info] - should ignore empty events and return properly deserialized list of chunks
2520[info] Creating chat completions with successful response
2521[info] - should stop listening after [DONE] event and return properly deserialized list of chunks
2522Starting build for ProjectRef(file:/build/repo/,pekko3) (pekko)... [3/5]
2523Compile 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
2524[info] compiling 1 Scala source to /build/repo/streaming/pekko/target/jvm-3/classes ...
2525[info] done compiling
2526[info] compiling 1 Scala source to /build/repo/streaming/pekko/target/jvm-3/test-classes ...
2527[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:66:8
2528[warn] 66 | c.getClass shouldBe expectedError.getClass
2529[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2530[warn] | unused value of type org.scalatest.Assertion
2531[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:67:8
2532[warn] 67 | c.message shouldBe expectedError.message
2533[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2534[warn] | unused value of type org.scalatest.Assertion
2535[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:68:8
2536[warn] 68 | c.cause.getClass shouldBe expectedError.cause.getClass
2537[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2538[warn] | unused value of type org.scalatest.Assertion
2539[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:69:8
2540[warn] 69 | c.code shouldBe expectedError.code
2541[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2542[warn] | unused value of type org.scalatest.Assertion
2543[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/pekko/src/test/scala/sttp/openai/streaming/pekko/PekkoClientSpec.scala:70:8
2544[warn] 70 | c.param shouldBe expectedError.param
2545[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2546[warn] | unused value of type org.scalatest.Assertion
2547[warn] 5 warnings found
2548[info] done compiling
2549[info] PekkoClientSpec:
2550[info] Creating speech
2551[info] - should return byte stream
2552[info] Service response with status code: 429
2553[info] - should return properly deserialized RateLimitException
2554[info] Service response with status code: 400
2555[info] - should return properly deserialized InvalidRequestException
2556[info] Service response with status code: 404
2557[info] - should return properly deserialized InvalidRequestException
2558[info] Service response with status code: 415
2559[info] - should return properly deserialized InvalidRequestException
2560[info] Service response with status code: 401
2561[info] - should return properly deserialized AuthenticationException
2562[info] Service response with status code: 403
2563[info] - should return properly deserialized PermissionException
2564[info] Service response with status code: 409
2565[info] - should return properly deserialized TryAgain
2566[info] Service response with status code: 503
2567[info] - should return properly deserialized ServiceUnavailableException
2568[info] Service response with status code: 410
2569[info] - should return properly deserialized APIException
2570[info] Creating chat completions with failed stream due to invalid deserialization
2571[info] - should return properly deserialized error
2572[info] Creating chat completions with successful response
2573[info] - should ignore empty events and return properly deserialized list of chunks
2574[info] Creating chat completions with successful response
2575[info] - should stop listening after [DONE] event and return properly deserialized list of chunks
2576Starting build for ProjectRef(file:/build/repo/,fs23) (fs2)... [4/5]
2577Compile 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
2578[info] compiling 1 Scala source to /build/repo/streaming/fs2/target/jvm-3/classes ...
2579[info] done compiling
2580[info] compiling 1 Scala source to /build/repo/streaming/fs2/target/jvm-3/test-classes ...
2581[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:64:8
2582[warn] 64 | c.getClass shouldBe expectedError.getClass
2583[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2584[warn] | unused value of type org.scalatest.Assertion
2585[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:65:8
2586[warn] 65 | c.message shouldBe expectedError.message
2587[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2588[warn] | unused value of type org.scalatest.Assertion
2589[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:66:8
2590[warn] 66 | c.cause.getClass shouldBe expectedError.cause.getClass
2591[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2592[warn] | unused value of type org.scalatest.Assertion
2593[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:67:8
2594[warn] 67 | c.code shouldBe expectedError.code
2595[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2596[warn] | unused value of type org.scalatest.Assertion
2597[warn] -- [E176] Potential Issue Warning: /build/repo/streaming/fs2/src/test/scala/sttp/openai/streaming/fs2/Fs2ClientSpec.scala:68:8
2598[warn] 68 | c.param shouldBe expectedError.param
2599[warn] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2600[warn] | unused value of type org.scalatest.Assertion
2601[warn] 5 warnings found
2602[info] done compiling
2603[info] Fs2ClientSpec:
2604[info] Creating speech
2605[info] - should return byte stream
2606[info] Service response with status code: 429
2607[info] - should return properly deserialized RateLimitException
2608[info] Service response with status code: 400
2609[info] - should return properly deserialized InvalidRequestException
2610[info] Service response with status code: 404
2611[info] - should return properly deserialized InvalidRequestException
2612[info] Service response with status code: 415
2613[info] - should return properly deserialized InvalidRequestException
2614[info] Service response with status code: 401
2615[info] - should return properly deserialized AuthenticationException
2616[info] Service response with status code: 403
2617[info] - should return properly deserialized PermissionException
2618[info] Service response with status code: 409
2619[info] - should return properly deserialized TryAgain
2620[info] Service response with status code: 503
2621[info] - should return properly deserialized ServiceUnavailableException
2622[info] Service response with status code: 410
2623[info] - should return properly deserialized APIException
2624[info] Creating chat completions with failed stream due to invalid deserialization
2625[info] - should return properly deserialized error
2626[info] Creating chat completions with successful response
2627[info] - should ignore empty events and return properly deserialized list of chunks
2628[info] Creating chat completions with successful response
2629[info] - should stop listening after [DONE] event and return properly deserialized list of chunks
2630
2631************************
2632Build summary:
2633[{
2634 "module": "ox",
2635 "compile": {"status": "ok", "tookMs": 53492, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2636 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2637 "test-compile": {"status": "ok", "tookMs": 20108, "warnings": 6, "errors": 0, "sourceVersion": "3.8"},
2638 "test": {"status": "ok", "tookMs": 1126, "passed": 12, "failed": 0, "ignored": 0, "skipped": 0, "total": 12, "byFramework": [{"framework": "unknown", "stats": {"passed": 12, "failed": 0, "ignored": 0, "skipped": 0, "total": 12}}]},
2639 "publish": {"status": "skipped", "tookMs": 0},
2640 "metadata": {
2641 "crossScalaVersions": ["2.12.20"]
2642}
2643},{
2644 "module": "core",
2645 "compile": {"status": "ok", "tookMs": 83, "warnings": 2, "errors": 0, "sourceVersion": "3.8"},
2646 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2647 "test-compile": {"status": "ok", "tookMs": 150, "warnings": 193, "errors": 0, "sourceVersion": "3.8"},
2648 "test": {"status": "ok", "tookMs": 1395, "passed": 133, "failed": 9, "ignored": 0, "skipped": 0, "total": 142, "byFramework": [{"framework": "unknown", "stats": {"passed": 133, "failed": 9, "ignored": 0, "skipped": 0, "total": 142}}]},
2649 "publish": {"status": "skipped", "tookMs": 0},
2650 "metadata": {
2651 "crossScalaVersions": ["2.12.20"]
2652}
2653},{
2654 "module": "zio",
2655 "compile": {"status": "ok", "tookMs": 552, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2656 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2657 "test-compile": {"status": "ok", "tookMs": 1162, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
2658 "test": {"status": "ok", "tookMs": 864, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
2659 "publish": {"status": "skipped", "tookMs": 0},
2660 "metadata": {
2661 "crossScalaVersions": ["2.12.20"]
2662}
2663},{
2664 "module": "pekko",
2665 "compile": {"status": "ok", "tookMs": 453, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2666 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2667 "test-compile": {"status": "ok", "tookMs": 863, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
2668 "test": {"status": "ok", "tookMs": 883, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
2669 "publish": {"status": "skipped", "tookMs": 0},
2670 "metadata": {
2671 "crossScalaVersions": ["2.12.20"]
2672}
2673},{
2674 "module": "fs2",
2675 "compile": {"status": "ok", "tookMs": 419, "warnings": 0, "errors": 0, "sourceVersion": "3.8"},
2676 "doc": {"status": "skipped", "tookMs": 0, "files": 0, "totalSizeKb": 0},
2677 "test-compile": {"status": "ok", "tookMs": 1399, "warnings": 5, "errors": 0, "sourceVersion": "3.8"},
2678 "test": {"status": "ok", "tookMs": 940, "passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13, "byFramework": [{"framework": "unknown", "stats": {"passed": 13, "failed": 0, "ignored": 0, "skipped": 0, "total": 13}}]},
2679 "publish": {"status": "skipped", "tookMs": 0},
2680 "metadata": {
2681 "crossScalaVersions": ["2.12.20"]
2682}
2683}]
2684************************
2685[success] Total time: 98 s (0:01:38.0), completed Dec 22, 2025, 5:43:11 PM
2686[0JChecking patch project/plugins.sbt...
2687Checking patch build.sbt...
2688Applied patch project/plugins.sbt cleanly.
2689Applied patch build.sbt cleanly.