mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-14 04:09:09 +00:00
Merge 094099eaac into d8c0e2c715
This commit is contained in:
commit
7622aec04b
3 changed files with 3 additions and 7 deletions
|
|
@ -4713,11 +4713,7 @@ class PrometheusLogger(CustomLogger):
|
|||
@staticmethod
|
||||
def _mount_metrics_endpoint():
|
||||
"""
|
||||
Mount the Prometheus metrics endpoint with optional authentication.
|
||||
|
||||
Args:
|
||||
require_auth (bool, optional): Whether to require authentication for the metrics endpoint.
|
||||
Defaults to False.
|
||||
Mount the Prometheus metrics endpoint (no authentication).
|
||||
"""
|
||||
from prometheus_client import REGISTRY
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
"""
|
||||
Re rank api
|
||||
|
||||
LiteLLM supports the re rank API format, no paramter transformation occurs
|
||||
LiteLLM supports the re rank API format, no parameter transformation occurs
|
||||
"""
|
||||
|
||||
from typing import Final
|
||||
|
|
|
|||
|
|
@ -8242,7 +8242,7 @@ def add_dummy_tool(custom_llm_provider: str) -> list[ChatCompletionToolParam]:
|
|||
"""
|
||||
Prevent Anthropic from raising error when tool_use block exists but no tools are provided.
|
||||
|
||||
Relevent Issues: https://github.com/BerriAI/litellm/issues/5388, https://github.com/BerriAI/litellm/issues/5747
|
||||
Relevant Issues: https://github.com/BerriAI/litellm/issues/5388, https://github.com/BerriAI/litellm/issues/5747
|
||||
"""
|
||||
return [
|
||||
ChatCompletionToolParam(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue