AI Studio Instructions
You can use this service as a backend for this AI Studio App. Follow the steps below to configure it:
- Start the CLIProxyAPI Service: Ensure your CLIProxyAPI instance is running, either locally or remotely.
- Access the AI Studio App: Log in to your Google account in your browser, then open the following link:
Connection Configuration
By default, the AI Studio App attempts to connect to a local CLIProxyAPI instance at ws://127.0.0.1:8317.
- Connecting to a Remote Service: If you need to connect to a remotely deployed CLIProxyAPI, modify the
config.tsfile in the AI Studio App to update theWEBSOCKET_PROXY_URLvalue.- Use the
wss://protocol if your remote service has SSL enabled. - Use the
ws://protocol if SSL is not enabled.
- Use the
Authentication Configuration
By default, WebSocket connections to CLIProxyAPI do not require authentication.
- Enable Authentication on the CLIProxyAPI Server: In your
config.yamlfile, setws_authtotrue. - Configure Authentication on the AI Studio Client: In the
config.tsfile of the AI Studio App, set theJWT_TOKENvalue to your authentication token.