Preparing search index...
The search index is not available
Tidyscripts Docs
Tidyscripts Docs
common
apis
cortex
StreamingRunner
Class StreamingRunner
A Runner encapsulates one strategy for the LLM call → parse → execute loop.
Implements
common
.
apis
.
cortex
.
Runner
Index
Constructors
constructor
Properties
history
id
verbose
Methods
get
Output
Module
get
Prompt
Format
run
Constructors
constructor
new
Streaming
Runner
(
options
)
:
common
.
apis
.
cortex
.
StreamingRunner
Parameters
options
:
common
.
apis
.
cortex
.
StreamingRunnerOptions
Returns
common
.
apis
.
cortex
.
StreamingRunner
Properties
history
history
:
StreamingLLMRecord
[]
= []
Readonly
id
id
:
"streaming_v2"
= 'streaming_v2'
verbose
verbose
:
boolean
Methods
get
Output
Module
get
Output
Module
(
)
:
common
.
apis
.
cortex
.
ContextModule
Returns
common
.
apis
.
cortex
.
ContextModule
get
Prompt
Format
get
Prompt
Format
(
)
:
common
.
apis
.
cortex
.
RunnerPromptFormat
Returns
common
.
apis
.
cortex
.
RunnerPromptFormat
run
run
(
ctx
,
maxLoops
)
:
Promise
<
string
>
Parameters
ctx
:
common
.
apis
.
cortex
.
RunnerContext
maxLoops
:
number
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
history
id
verbose
Methods
get
Output
Module
get
Prompt
Format
run
Tidyscripts Docs
Loading...
A Runner encapsulates one strategy for the LLM call → parse → execute loop.