Files
Luminary/internal/provider/custom/client.go
T
renjue 76ba500417
CI / docker (push) Successful in 2m4s
Initial commit: Luminary AI Gateway
OpenAI-compatible AI gateway with Vue admin UI, multi-provider egress,
ingress key governance, monitoring, and security controls.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-23 21:46:16 +08:00

17 lines
309 B
Go

package custom
import (
"github.com/rose_cat707/luminary/internal/provider/openai"
)
// Custom providers use OpenAI-compatible API at a custom base URL.
type Client struct {
*openai.Client
}
func New() *Client {
return &Client{Client: openai.New()}
}
func (c *Client) Type() string { return "custom" }