Marc Abramowitz
a79fd772f4
Simplify mock_patch_acompletion
2024-05-02 12:47:27 -07:00
Marc Abramowitz
6ec058711a
Make unnecessary to pass extra arg for mock object
...
Modify `mock_patch_acompletion` to be a context manager instead of a
function that returns a mock object. This way, the mock object is
created and yielded by the context manager, and the test function
doesn't need to pass the mock object as an argument.
2024-05-02 12:41:30 -07:00
Marc Abramowitz
4dfadb0cf4
mock_patch_acompletion in test_proxy_server.py
2024-05-02 12:24:49 -07:00
Ishaan Jaff and GitHub
7ffe410097
Merge pull request #3392 from BerriAI/litellm_fix_langfuse_reinitalized
...
[Fix] bug where langfuse was reinitialized on every call
v1.35.35.dev1
2024-05-02 10:54:47 -07:00
Marc Abramowitz
152b5c8ceb
Add test_openai_deployments_model_chat_completions_azure
2024-05-02 10:27:32 -07:00
Ishaan Jaff and GitHub
e16ca10ea5
Merge pull request #3278 from greenscale-ai/main
...
Fix Greenscale Documentation
2024-05-02 08:26:12 -07:00
greenscale-nandesh and GitHub
6009632705
Merge branch 'main' into main
2024-05-02 08:22:11 -07:00
Krrish Dholakia
18cb0bc530
fix(utils.py): revert pydantic object changes
2024-05-02 08:14:45 -07:00
Krrish Dholakia
16522a5351
fix(utils.py): add missing providers + models to validate_environment
...
Closes https://github.com/BerriAI/litellm/issues/3190
2024-05-02 08:14:45 -07:00
Ishaan Jaff and GitHub
c8ceab872f
Merge pull request #2967 from BerriAI/dependabot/pip/idna-3.7
...
build(deps): bump idna from 3.6 to 3.7
2024-05-02 07:43:38 -07:00
Ishaan Jaff and GitHub
55de1c1c76
Merge pull request #3169 from BerriAI/dependabot/npm_and_yarn/litellm-js/spend-logs/hono/node-server-1.10.1
...
build(deps): bump @hono/node-server from 1.9.0 to 1.10.1 in /litellm-js/spend-logs
2024-05-02 07:43:01 -07:00
Ishaan Jaff and GitHub
ee8d0b6d5f
Merge pull request #3217 from DomMartin27/litellm_readme
...
Update contributing instructions in README.md
2024-05-02 07:42:44 -07:00
Ishaan Jaff and GitHub
08518240a2
Merge pull request #3349 from nobu007/add_pull_request_template
...
docs: add .github/pull_request_template.md
2024-05-02 07:39:35 -07:00
Lucca Zenóbio and GitHub
78303b79ee
Merge branch 'main' into main
2024-05-02 09:46:34 -03:00
ffreemt
64d229caaa
Add return_exceptions to litellm.batch_completion for optionally returing exceptions and partial resuslt instead of throwing exceptions
2024-05-02 19:30:01 +08:00
Krrish Dholakia
caf19478af
fix(utils.py): fix pydantic object default values
2024-05-01 22:51:46 -07:00
Christian Privitelli
2d43153efa
include methods in init import, add test, fix encode/decode param ordering
2024-05-02 15:49:22 +10:00
Krrish Dholakia
29aefaa7d7
fix(utils.py): fix default values
2024-05-01 22:24:37 -07:00
Krrish Dholakia
f7d7d34261
bump: version 1.35.35 → 1.35.36
2024-05-01 21:59:33 -07:00
Krrish Dholakia
0251543e7a
refactor(main.py): trigger new build
2024-05-01 21:59:33 -07:00
Christian Privitelli
3449a5e446
update docs, allow use with encode/decode
2024-05-02 14:56:38 +10:00
Ishaan Jaff
761aa7e5c8
ui - new build
2024-05-01 21:43:00 -07:00
Krish Dholakia and GitHub
24fc934622
Merge pull request #3379 from elisalimli/main
...
[chore] Improve type-safety in Message & Delta classes
2024-05-01 21:19:52 -07:00
Krish Dholakia and GitHub
be8d01974b
Merge pull request #3389 from BerriAI/litellm_openmeter_integration
...
feat(openmeter.py): add support for user billing
2024-05-01 21:19:35 -07:00
Krish Dholakia and GitHub
fffbb73465
Merge branch 'main' into litellm_openmeter_integration
2024-05-01 21:19:29 -07:00
Krrish Dholakia
cdd3e1eef3
build(ui): enable adding openmeter via proxy ui
2024-05-01 21:16:23 -07:00
Ishaan Jaff
3d9287602e
ci/cd run again
v1.35.35
2024-05-01 21:13:14 -07:00
Christian Privitelli
b4d4b42cfa
fix docs
2024-05-02 14:11:03 +10:00
Christian Privitelli
2fd2e811fd
add llama3 tokenizer and support for custom tokenizer
2024-05-02 14:05:38 +10:00
Ishaan Jaff
17a5a09028
ci/cd bump langfuse testing version
2024-05-01 21:04:31 -07:00
Ishaan Jaff and GitHub
f3dfe5f2ab
Merge pull request #3262 from Manouchehri/update-langfuse-py-1
...
Update langfuse in `requirements.txt`
2024-05-01 21:03:23 -07:00
Ishaan Jaff
8a3d8f8ee4
fix bug where langfuse was reinitialized
2024-05-01 20:47:25 -07:00
Ishaan Jaff
9ac5d30cb7
fix - langfuse.py
2024-05-01 20:32:52 -07:00
Ishaan Jaff and GitHub
1588453532
Merge pull request #2516 from marcklingen/patch-1
...
Add langfuse `sdk_integration`
2024-05-01 20:01:47 -07:00
Ishaan Jaff
b693060f09
bump: version 1.35.34 → 1.35.35
2024-05-01 19:58:59 -07:00
Ishaan Jaff
00969aa682
ui - new build
2024-05-01 19:52:57 -07:00
Ishaan Jaff and GitHub
5870d2663d
Merge pull request #3391 from BerriAI/litellm_fix_langfuse_errant_prints
...
[Fix + Test] Errant prints on langfuse
2024-05-01 19:16:49 -07:00
Ishaan Jaff
533117f4d9
fix pre commit hook should test integrations
2024-05-01 19:14:08 -07:00
Krrish Dholakia
dbf999f56e
refactor(langfuse.py): remove print statements
2024-05-01 19:11:59 -07:00
Ishaan Jaff
4e3ca5a26e
fix - errant prints on langfuse
2024-05-01 19:07:56 -07:00
Krrish Dholakia
61d680143f
docs(openmeter.md): add openmeter to docs
2024-05-01 18:31:45 -07:00
Ishaan Jaff and GitHub
b3f5ff4d11
Merge pull request #3390 from BerriAI/litellm_show_slow_responses
...
[UI] show slow responses + num requests per deployment
2024-05-01 17:32:26 -07:00
Ishaan Jaff
789ef4566c
ui - show slow responses
2024-05-01 17:29:52 -07:00
Ishaan Jaff
44f74c65e3
fix update slow responses based on selected model group
2024-05-01 17:25:42 -07:00
Krrish Dholakia
2a9651b3ca
feat(openmeter.py): add support for user billing
...
open-meter supports user based billing. Closes https://github.com/BerriAI/litellm/issues/1268
2024-05-01 17:23:48 -07:00
Ishaan Jaff
5041b924ac
ui - show slow responses on admin UI
2024-05-01 17:23:37 -07:00
Ishaan Jaff
26eda88b26
feat - show slow count and total count
2024-05-01 17:18:14 -07:00
Ishaan Jaff
f48f4a767c
feat - return slow responses on admin UI
2024-05-01 17:16:33 -07:00
Ishaan Jaff and GitHub
8c148506a0
Merge pull request #3388 from BerriAI/litellm_ui_latency_tracker
...
[UI] Fix show latency < 0.0001 for deployments that have low latency + only show non cache hits on latency UI
2024-05-01 16:58:03 -07:00
Ishaan Jaff
e9dd4bbe57
fix - dont show cache hits on model latency tracker
2024-05-01 16:51:15 -07:00