org.llm4s.testkit.RecordedReply
See theRecordedReply companion object
How a provider answers one ContractCase: its reply to complete and its reply to streamComplete, each a handler for a LocalProviderTestServer that writes the bytes the provider sends, captured from the real service where possible.
Value parameters
- complete
-
answers a non-streaming request, e.g.
LocalProviderTestServer.sendJsonResponse(_, 200, body) - stream
-
answers a streaming request, e.g.
LocalProviderTestServer.sendSseResponse(_, body)
Attributes
- Companion
- object
- Source
- ModelCallContract.scala
- Graph
-
- Supertypes
Members list
In this article
