ToolOutputOffload

org.llm4s.agent.harness.ToolOutputOffload
See theToolOutputOffload companion class
@Experimental

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def pathOf(segment: String): String

The path the model is shown for the result stored under segment.

The path the model is shown for the result stored under segment.

Attributes

Concrete fields

The default for maxResultBytes: 1 MiB.

The default for maxResultBytes: 1 MiB.

Attributes

The default for maxTotalBytes: 4 MiB.

The default for maxTotalBytes: 4 MiB.

Attributes

The default for thresholdTokens.

The default for thresholdTokens.

Attributes

val MaxEvicted: Int

The most evicted keys Offloads remembers, so reading one says it was evicted.

The most evicted keys Offloads remembers, so reading one says it was evicted.

Attributes

val MetadataBytes: Long

What an entry's key and tool name take at most, beside its content.

What an entry's key and tool name take at most, beside its content.

Attributes

val Mount: VPath

Where OffloadBackend is mounted, and the prefix of every path the model is shown.

Where OffloadBackend is mounted, and the prefix of every path the model is shown.

Attributes

val PreviewLineChars: Int
val PreviewLines: Int

How many lines of an offloaded result the model is shown, each cut to PreviewLineChars characters.

How many lines of an offloaded result the model is shown, each cut to PreviewLineChars characters.

Attributes

The thread's offloaded results: one key for every ToolOutputOffload, so the agents of one family share them. Its update is total: a Put evicts the oldest results until they fit the bound it carries.

The thread's offloaded results: one key for every ToolOutputOffload, so the agents of one family share them. Its update is total: a Put evicts the oldest results until they fit the bound it carries.

Attributes