devin-ai-integration[bot]
|
44d9737609
|
fix(llm_guard): apply sanitized prompt returned by moderation API to request (#33331)
Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
|
2026-07-16 01:27:44 +03:00 |
|
Krish Dholakia
|
06906534b3
|
feat(audio_transcriptions/): calculate duration of audio file for cost calculation + feat (image_generations): cost tracking accuracy improved with output_format, quality, size values fixed per openai model
* feat(audio_transcriptions/): calculate duration of audio file for cost calculation
Fixes https://github.com/BerriAI/litellm/issues/11846
Closes https://github.com/BerriAI/litellm/issues/14605
* fix(cost_calculator.py): correctly use base model, when set
Fixes issue where azure base model was being ignored
* feat(cost_calculator.py): fix default cost tracking quality param for image generation
* feat(image_generations/): return output_format, quality, size
aligns response to openai spec and improves cost tracking accuracy
* fix(cost_calculator.py): refactor cost calculation for image generation to use image response instead of hidden params
* build: update build
* fix: fix cost calculation
* build: update poetry lock
* fix: fix ruff checks
* fix: fix aembedding
* fix: fix ruff errors
* fix: modify to catch errors
* fix: test
* fix: loosen test to handle openai lib out of sync
* fix: fix base models
* fix: fix usage object
|
2025-11-08 16:24:31 -08:00 |
|
Krish Dholakia
|
202eaeb1a2
|
Revert "(feat) Audio transcription - cost tracking + (feat) image generation …" (#16409)
This reverts commit c96da44265.
|
2025-11-08 15:38:16 -08:00 |
|
Krish Dholakia
|
c96da44265
|
(feat) Audio transcription - cost tracking + (feat) image generation - accurate cost tracking based on output_format/quality/size
* feat(audio_transcriptions/): calculate duration of audio file for cost calculation
Fixes https://github.com/BerriAI/litellm/issues/11846
Closes https://github.com/BerriAI/litellm/issues/14605
* fix(cost_calculator.py): correctly use base model, when set
Fixes issue where azure base model was being ignored
* feat(cost_calculator.py): fix default cost tracking quality param for image generation
* feat(image_generations/): return output_format, quality, size
aligns response to openai spec and improves cost tracking accuracy
* fix(cost_calculator.py): refactor cost calculation for image generation to use image response instead of hidden params
* build: update build
* fix: fix cost calculation
* build: update poetry lock
* fix: fix ruff checks
* fix: fix aembedding
* fix: fix ruff errors
* fix: modify to catch errors
* fix: test
* fix: loosen test to handle openai lib out of sync
|
2025-11-08 15:30:46 -08:00 |
|
Ishaan Jaffer
|
0a1fc0eeb2
|
Revert "fix: fix ruff errors"
This reverts commit eef864360e.
|
2025-11-08 14:33:51 -08:00 |
|
Krrish Dholakia
|
eef864360e
|
fix: fix ruff errors
|
2025-11-08 14:15:12 -08:00 |
|
Ishaan Jaff
|
cea318330e
|
[Feat] Add Guardrails for /v1/messages and /v1/responses API (#15686)
* add get_guardrails_messages_for_call_type
* fix call type for /messages
* add anthropic endpoints
* fix bedrock guardrails
* fix config.yaml
* fix types
* fix async_pre_call_hook
* ruff fix
* fix guard
* fix test bedrock guardrail
* fix linting
* fix linting
* docs guardrails
* fix mypy linting
|
2025-10-17 18:09:00 -07:00 |
|
Ishaan Jaff
|
555efd60b5
|
[Security] Fix: Ensure .info() logs are not used for request/responses + Add code QA check for possible violations (#14386)
* test: info log
* fixes for debug
* add info_log_check
* fix: debug level
* fix: debug level
* fix: use .debug
* fix info statements
* fix info log check
* fix: fix emit_standard_logging_payload
* fix RequestBody
* Potential fix for code scanning alert no. 3339: Clear-text logging of sensitive information
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
* fix check
* fix code qa check
---------
Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
|
2025-09-09 13:55:56 -07:00 |
|
Jugal D. Bhatt
|
900c7f45c0
|
[MCP Gateway] Litellm mcp pre and during guardrails (#13188)
* add guardrail support
* add guardrail support
* guardrails for MCP
* added changes
* add mcp guardrails
* added test
* add ui
* fix guardrail form
* working with cursor
* remvoe print
* fix mcp servertests
* fix mypy and remove console logs
* fix mypy and remove console logs
* fix mypy tests
|
2025-08-01 20:02:25 -07:00 |
|
Ishaan Jaff
|
57b0b4edf3
|
[Bug fix] [Bug]: Verbose log is enabled by default (#12596)
* test find_set_verbose_assignments
* fix set verbose
* test set verbose
* fix unused import
|
2025-07-14 20:06:16 -07:00 |
|
Ishaan Jaff
|
3130c4f8f9
|
[Refactor] Move LLM Guard, Secret Detection to Enterprise Pip packagea (#10782)
* refactor: move guardrails to pip
* refactor: move guardrails to pip
* testing fix: move guardrails to pip
* git commit setup_litellm_enterprise_pip
|
2025-05-13 09:42:22 -07:00 |
|