Options

data class Options(val llmOptions: <Error class: unknown class>) : RoleResolution

Configured options - a model name, and optionally hyperparameters that travel with the role. Values the caller set explicitly still win.

The wrapper is what makes this a case rather than a payload. Returning a bare LlmOptions would leave the platform unable to tell "resolved to options" from the other two answers in a when, and would rule out ever adding a third field to this case without changing every resolver's signature. The other two wrap for the same reason; the cost is one .llmOptions at the use site.

Constructors

Link copied to clipboard
constructor(llmOptions: <Error class: unknown class>)

Properties

Link copied to clipboard
val llmOptions: <Error class: unknown class>