Moving daily releases to -nightly
#8495
Replies: 5 comments 1 reply
-
Stable Release QA Checklist Proxy Admin
Router Settings QA
Guardrails QA
Logs Page
You can use this curl
Use this to generate 10 requests, just run on your terminal
Other Proxy Admin
curl -X GET "http://localhost:4000/team/list" \
-H "Authorization: Bearer sk-<key-you-just-created>" Team Admin
Internal User
Internal User Viewer
Security Tests
SSO Tests
Server Tests
model_list:
- model_name: fake-openai-endpoint
litellm_params:
model: openai/fake
api_key: fake-key
api_base: https://exampleopenaiendpoint-production.up.railway.app/
litellm_settings:
cache: true
cache_params:
type: redis
ttl: 600
password: os.environ/REDIS_PASSWORD
supported_call_types: ["acompletion", "completion"]
10 users, 1 ramp up, 2 minutes, 2 instances (port 4000, port 4001) from locust import HttpUser, task, between
from large_file import text
import uuid
import os
class RealProxyUser1(HttpUser):
host = "http://localhost:4000" # First base URL
# wait_time = between(1, 10)
@task
def post_chat_completions(self):
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer sk-1234",
# "Authorization": "Bearer sk-P1zJMdsqCPNN54alZd_ETw",
}
data = {
"model": "fake-openai-endpoint",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hey, how's it going?" * 1024}],
}
self.client.post("/chat/completions", json=data, headers=headers)
class RealProxyUser2(HttpUser):
host = "http://localhost:4001" # First base URL
# wait_time = between(1, 10)
@task
def post_chat_completions(self):
headers = {
"Content-Type": "application/json",
"Authorization": "Bearer sk-1234",
# "Authorization": "Bearer sk-P1zJMdsqCPNN54alZd_ETw",
}
data = {
"model": "fake-openai-endpoint",
"max_tokens": 1024,
"messages": [{"role": "user", "content": "Hey, how's it going?" * 1024}],
}
self.client.post("/chat/completions", json=data, headers=headers)
Please let me know if there's any scenarios we should add to this. |
Beta Was this translation helpful? Give feedback.
-
PR with change is live here - #8499 |
Beta Was this translation helpful? Give feedback.
-
Rollout plan:
|
Beta Was this translation helpful? Give feedback.
-
Update pypi releases are now marked with a |
Beta Was this translation helpful? Give feedback.
-
Stable releases are done on a weekly basis (every Sunday) - https://docs.litellm.ai/docs/proxy/release_cycle |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We're planning on moving our daily releases to be pre-releases with a
-nightly
tag.This is so we can separate releases which haven't gone through a qa checklist, and therefore might have some instability (e.g. not being able to see keys on UI as an internal user).
Normal releases will therefore be more stable as they would have gone through manual QA (in addition to our ci/cd) before being published.
Beta Was this translation helpful? Give feedback.
All reactions