This commit is contained in:
陈志谦 2026-09-23 14:43:44 +00:00 • committed by GitHub
commit d969e83484
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 3 additions and 7 deletions

View file

@ -4519,11 +4519,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

View file

@ -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 Any, Final

View file

@ -8089,7 +8089,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(