forked from phoenix/litellm-mirror
(fix) load testing key used
This commit is contained in:
parent
bbfd850e12
commit
53d7b95364
2 changed files with 4 additions and 3 deletions
2
.github/workflows/locustfile.py
vendored
2
.github/workflows/locustfile.py
vendored
|
@ -10,7 +10,7 @@ class MyUser(HttpUser):
|
||||||
def chat_completion(self):
|
def chat_completion(self):
|
||||||
headers = {
|
headers = {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
"Authorization": f"Bearer sk-gUvTeN9g0sgHBMf9HeCaqA",
|
"Authorization": f"Bearer sk-S2-EZTUUDY0EmM6-Fy0Fyw",
|
||||||
# Include any additional headers you may need for authentication, etc.
|
# Include any additional headers you may need for authentication, etc.
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -15,15 +15,16 @@ spec:
|
||||||
containers:
|
containers:
|
||||||
- name: litellm-container
|
- name: litellm-container
|
||||||
image: ghcr.io/berriai/litellm:main-latest
|
image: ghcr.io/berriai/litellm:main-latest
|
||||||
|
imagePullPolicy: Always
|
||||||
env:
|
env:
|
||||||
- name: AZURE_API_KEY
|
- name: AZURE_API_KEY
|
||||||
value: "d6f****"
|
value: "d6f****"
|
||||||
- name: AZURE_API_BASE
|
- name: AZURE_API_BASE
|
||||||
value: "https://openai
|
value: "https://openai"
|
||||||
- name: LITELLM_MASTER_KEY
|
- name: LITELLM_MASTER_KEY
|
||||||
value: "sk-1234"
|
value: "sk-1234"
|
||||||
- name: DATABASE_URL
|
- name: DATABASE_URL
|
||||||
value: "postgresql://ishaan:*********""
|
value: "postgresql://ishaan*********"
|
||||||
args:
|
args:
|
||||||
- "--config"
|
- "--config"
|
||||||
- "/app/proxy_config.yaml" # Update the path to mount the config file
|
- "/app/proxy_config.yaml" # Update the path to mount the config file
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue