ToolOutputOffload

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

Attributes

Companion
class
Source
ToolOutputOffload.scala
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

Source
ToolOutputOffload.scala

Concrete fields

The default for maxResultBytes: 1 MiB.

The default for maxResultBytes: 1 MiB.

Attributes

Source
ToolOutputOffload.scala

The default for maxTotalBytes: 4 MiB.

The default for maxTotalBytes: 4 MiB.

Attributes

Source
ToolOutputOffload.scala

The default for thresholdTokens.

The default for thresholdTokens.

Attributes

Source
ToolOutputOffload.scala

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

Source
ToolOutputOffload.scala

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

Source
ToolOutputOffload.scala
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

Source
ToolOutputOffload.scala

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

Source
ToolOutputOffload.scala

The longest line of a stored result: a longer one is stored wrapped at this length, so read_file, which shows at most maxLineChars (2,000 by default) characters of a line, can show every part of it (#3265).

The longest line of a stored result: a longer one is stored wrapped at this length, so read_file, which shows at most maxLineChars (2,000 by default) characters of a line, can show every part of it (#3265).

Attributes

Source
ToolOutputOffload.scala

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

Source
ToolOutputOffload.scala