RuntimeConfigLoader
org.llm4s.config.RuntimeConfigLoader
@Experimental
object RuntimeConfigLoader
Loads a GraphRuntime's policies from llm4s.agent.runtime at the application's edge (design 4.54): how its runs hold their threads' claims (ClaimPolicy, claims) and how its subscriptions watch the store for commits made elsewhere (WatchPolicy, watch). llm4s-agent's reference.conf holds the defaults, which are the policies' own, and binds claims.label to LLM4S_RUNTIME_LABEL, so each instance of a service can name itself in the logs (a pod name, say).
llm4s.agent.runtime {
claims { ttl = 30 seconds, renewEvery = 10 seconds, label = "worker-1" }
watch { enabled = true, pollInterval = 250 milliseconds }
}
A value a policy refuses is a ConfigurationError naming the key.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
RuntimeConfigLoader.type
Members list
In this article