Avatar for the BerriAI user
BerriAI
litellm
BlogDocsChangelog

feat: add environment and user tracking to prompt management

#24855
Comparing
talhaanwarch:feat/prompt-environment-and-user-tracking-clean
(
5bcf763
) with
main
(
08be1e5
)
CodSpeed Performance Gauge
0%
Untouched
16

Benchmarks

16 total
test_get_model_info_with_provider
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
+1%
88.2 µs87.1 µs
test_cost_per_token_openai
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
0%
546.5 µs545.9 µs
test_get_llm_provider_azure
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
0%
150.2 µs150.5 µs
test_cost_per_token_anthropic
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
0%
546 µs547 µs
test_token_counter_simple_message
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
0%
240.3 µs240.8 µs
test_get_llm_provider_openai
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
0%
144.3 µs144.7 µs
test_token_counter_with_tools
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
0%
417.7 µs418.8 µs
test_get_llm_provider_anthropic
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
0%
147.7 µs148.1 µs
test_get_model_info_openai
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
0%
88 µs88.3 µs
test_get_model_cost_key_exact_match
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
-1%
86.1 µs86.6 µs
test_get_model_cost_key_case_insensitive
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
-1%
88.4 µs89 µs
test_token_counter_long_content
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
-1%
1.7 ms1.7 ms
test_get_llm_provider_with_prefix
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
-1%
143 µs144.2 µs
test_token_counter_raw_text
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
-1%
188 µs189.6 µs
test_get_model_info_anthropic
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
-1%
84.7 µs85.4 µs
test_token_counter_multi_turn
tests/benchmarks/test_benchmarks.py
CodSpeed Performance Gauge
-1%
568.3 µs574 µs

Commits

Click on a commit to change the comparison range
Base
main
08be1e5
-0.3%
feat: add environment and user tracking to prompt management
c9bacd5
5 hours ago
by talhaanwarch
+0.04%
fix: Black formatting and add environments to PromptInfoResponse TypeScript type
a7b7dc4
5 hours ago
by talhaanwarch
-0.08%
fix: address Greptile review findings
a9ec84c
5 hours ago
by talhaanwarch
0%
fix: address remaining Greptile review comments
7ec7400
5 hours ago
by talhaanwarch
-0.01%
fix: scope patch_prompt to environment using primary key
5bcf763
4 hours ago
by talhaanwarch
© 2026 CodSpeed Technology
Home Terms Privacy Docs