Is there an existing issue for this?
Product concerned
Public cloud
Feature description
Add the ability to generate AI endpoint API credentials and configuration from the browser interface, then launch the shai CLI tool with the proper configuration for the selected endpoint.
Use Case
When browsing AI endpoints in the browser, users should be able to:
- Generate API credentials (API key) for that endpoint
- Automatically configure
shai CLI with those credentials
- Launch shai directly from the browser
This eliminates manual setup steps:
- Navigate to OVHcloud Manager
- Generate/copy API credentials
- Manually configure shai with credentials
- Launch shai separately
Acceptance Criteria
Implementation Details
- Call OVHcloud API to generate or fetch API key for the endpoint
- Create/update shai configuration file (typically
~/.config/shai/auth.config)
- Set API key and endpoint URL in shai config
- Detect if shai CLI is installed before attempting launch
- Launch shai with proper access to the configured endpoint
- Provide helpful error messages if shai is missing or config invalid
Related Components
internal/services/browser/api.go - Add method to generate/fetch API key
internal/services/browser/manager.go - Add action handler for launching shai
- Browser UI - Add menu option for AI endpoint actions
Is there an existing issue for this?
Product concerned
Public cloud
Feature description
Add the ability to generate AI endpoint API credentials and configuration from the browser interface, then launch the
shaiCLI tool with the proper configuration for the selected endpoint.Use Case
When browsing AI endpoints in the browser, users should be able to:
shaiCLI with those credentialsThis eliminates manual setup steps:
Acceptance Criteria
Implementation Details
~/.config/shai/auth.config)Related Components
internal/services/browser/api.go- Add method to generate/fetch API keyinternal/services/browser/manager.go- Add action handler for launching shai