38 lines
748 B
YAML
38 lines
748 B
YAML
|
|
apiVersion: agentgateway.dev/v1alpha1
|
||
|
|
kind: AgentgatewayBackend
|
||
|
|
metadata:
|
||
|
|
name: vertex-ai
|
||
|
|
namespace: agentgateway-system
|
||
|
|
spec:
|
||
|
|
ai:
|
||
|
|
provider:
|
||
|
|
vertexai:
|
||
|
|
projectId: ms2k-personal
|
||
|
|
region: global
|
||
|
|
policies:
|
||
|
|
auth:
|
||
|
|
gcp:
|
||
|
|
type: AccessToken
|
||
|
|
secretRef:
|
||
|
|
name: agentgateway-vertex-ai
|
||
|
|
---
|
||
|
|
apiVersion: agentgateway.dev/v1alpha1
|
||
|
|
kind: AgentgatewayBackend
|
||
|
|
metadata:
|
||
|
|
name: novita
|
||
|
|
namespace: agentgateway-system
|
||
|
|
spec:
|
||
|
|
ai:
|
||
|
|
provider:
|
||
|
|
custom:
|
||
|
|
formats:
|
||
|
|
- type: Completions
|
||
|
|
path: /openai/v1/chat/completions
|
||
|
|
host: api.novita.ai
|
||
|
|
port: 443
|
||
|
|
policies:
|
||
|
|
auth:
|
||
|
|
secretRef:
|
||
|
|
name: agentgateway-novita
|
||
|
|
tls:
|
||
|
|
sni: api.novita.ai
|