-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Is there an existing issue for this?
- I have searched the existing issues
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
shaiCLI 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
- Add "Launch shai" action when viewing AI endpoint details
- Generate API key for the selected endpoint (via API)
- Set up shai configuration with the generated credentials
- Graceful error handling if shai is not installed
- Show loading state during credential generation
- Display success message before launching shai
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 keyinternal/services/browser/manager.go- Add action handler for launching shai- Browser UI - Add menu option for AI endpoint actions
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels