0.1.0:4 - expose /api/endpoints as separate StartOS service interface
Adds a second sdk.createInterface with type='api' and path='/api/endpoints' on the same uiPort (9999). StartOS dashboard now shows two service interfaces: Web UI and OpenAI-compatible API. The API URL is discoverable to other services without users needing to remember the /api/endpoints suffix.
This commit is contained in:
@@ -14,6 +14,10 @@ const dict = {
|
||||
// actions
|
||||
'Show Public Key': 6,
|
||||
'Configure Sparks': 7,
|
||||
|
||||
// interfaces.ts (api)
|
||||
'OpenAI-compatible API': 8,
|
||||
'Service-discovery JSON at /api/endpoints. Other apps on the LAN can GET this to learn the current vLLM, Parakeet, and Magpie URLs.': 9,
|
||||
} as const
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user