first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
apiVersion: configuration.konghq.com/v1
|
||||
kind: KongPlugin
|
||||
metadata:
|
||||
name: ${NAME}-llm-ai-proxy-advanced
|
||||
namespace: ${NAMESPACE}
|
||||
plugin: ai-proxy-advanced
|
||||
config:
|
||||
targets:
|
||||
- route_type: llm/v1/chat
|
||||
auth:
|
||||
header_name: Authorization
|
||||
header_value: ${OPENROUTER_BEARER}
|
||||
model:
|
||||
provider: openai
|
||||
# name deliberately unset: the client's own `model` field is passed
|
||||
# through to OpenRouter.
|
||||
options:
|
||||
upstream_url: ${OPENROUTER_UPSTREAM_URL}
|
||||
Reference in New Issue
Block a user