Spaces:
Paused
Paused
Add payload mapping for gemini models
Browse files- config.yaml +7 -0
config.yaml
CHANGED
|
@@ -25,6 +25,13 @@ usage-statistics-enabled: false
|
|
| 25 |
# Request retry
|
| 26 |
request-retry: 3
|
| 27 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 28 |
# Gemini API keys
|
| 29 |
gemini-api-key:
|
| 30 |
# User needs to provide the actual API Key here instead of OAuth credentials if the new image doesn't support OAuth params
|
|
|
|
| 25 |
# Request retry
|
| 26 |
request-retry: 3
|
| 27 |
|
| 28 |
+
# Payload configuration to map models
|
| 29 |
+
payload:
|
| 30 |
+
override:
|
| 31 |
+
- models:
|
| 32 |
+
- name: "gemini-*"
|
| 33 |
+
protocol: "gemini"
|
| 34 |
+
|
| 35 |
# Gemini API keys
|
| 36 |
gemini-api-key:
|
| 37 |
# User needs to provide the actual API Key here instead of OAuth credentials if the new image doesn't support OAuth params
|