|
<< Click to Display Table of Contents >> Navigation: 3. Script Language > AI - Artificial Intelligence Commands > AIC. - Artificial Intelligence Command > AIC. - Artificial Intelligence Command |
AIC.SetProxyOn |
Top |
MiniRobotLanguage (MRL)
AIC.SetProxyOn
Enable or disable proxy for AI connections
Intention
The AIC.SetProxyOn command enables or disables the use of a proxy server for OpenAI API connections. Use this when behind corporate firewalls.
Syntax
AIC.SetProxyOn|$$State
Parameters
P1 - $$State - "1" or "True" to enable, "0" or "False" to disable
Example
' Enable proxy
AIC.SetProxyOn|1
AIC.SetProxyServer|http://proxy.company.com:8080
' Now all AI calls go through proxy
AIC.Ask|Hello|$$Response
Related Commands
- AIC.SetProxyServer - Set proxy server
- AIC.SetProxyAuth - Set proxy authentication