|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIO. - OpenRouter AI > AIO.Init |
MiniRobotLanguage (MRL)
AIO.Init
Initialize OpenRouter AI System
Purpose
Initializes the AIO (AI OpenRouter) system with default values. This command should be called once before using any other AIO commands. It resets all global configuration variables to their default states and clears any previous error history.
Syntax
AIO.Init
Parameters
None
Default Values Set
Model: openai/gpt-4o
MaxTokens: 4096
Temperature: unset (uses API default)
TopP: unset (uses API default)
Retries: 1
ParallelToolCalls: enabled (1)
Example
' Start fresh AIO session
AIO.Init
' Configure for use
AIO.SetKey|sk-or-v1-your-api-key
AIO.SetModel|anthropic/claude-3.5-sonnet
Related Commands
AIO.SetKey - Set API key
AIO.SetModel - Set AI model
AIO.Chat - Send chat request