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>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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" }
|
||||
Reference in New Issue
Block a user