io.github.serhiip.constellations.openrouter.schema.chat.request.ChatRequest
See theChatRequest companion object
final case class ChatRequest(cacheControl: Option[AnthropicCacheControlDirective] = ..., debug: Option[ChatDebugOptions] = ..., deferredTools: Option[DeferredToolsControl] = ..., frequencyPenalty: Option[Double] = ..., imageConfig: Option[Map[String, List[Json] | Double | String]] = ..., logitBias: Option[Map[String, Double]] = ..., logprobs: Option[Boolean] = ..., maxCompletionTokens: Option[Long] = ..., maxTokens: Option[Long] = ..., messages: List[ChatMessages], metadata: Option[Map[String, String]] = ..., minP: Option[Double] = ..., modalities: Option[List[ModalitiesItem]] = ..., model: Option[String] = ..., models: Option[List[String]] = ..., parallelToolCalls: Option[Boolean] = ..., plugins: Option[List[PluginsItem]] = ..., prediction: Option[Prediction] = ..., presencePenalty: Option[Double] = ..., promptCacheKey: Option[String] = ..., promptCacheOptions: Option[PromptCacheOptions] = ..., provider: Option[ProviderPreferences] = ..., reasoning: Option[Reasoning] = ..., reasoningEffort: Option[ReasoningEffort2] = ..., repetitionPenalty: Option[Double] = ..., responseFormat: Option[ResponseFormat] = ..., route: Option[DeprecatedRoute] = ..., seed: Option[Long] = ..., serviceTier: Option[ServiceTier] = ..., sessionId: Option[String] = ..., stop: Option[List[String] | String] = ..., stopServerToolsWhen: Option[List[StopServerToolsWhenCondition]] = ..., stream: Option[Boolean] = ..., streamOptions: Option[ChatStreamOptions] = ..., temperature: Option[Double] = ..., toolChoice: Option[ChatNamedToolChoice | ChatServerToolChoice | String] = ..., tools: Option[List[ChatFunctionTool]] = ..., topA: Option[Double] = ..., topK: Option[Long] = ..., topLogprobs: Option[Long] = ..., topP: Option[Double] = ..., trace: Option[TraceConfig] = ..., user: Option[String] = ...)
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article