mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-28 01:32:17 +00:00
Merge 094099eaac into 2dccc0dc79
This commit is contained in:
commit
d969e83484
3 changed files with 3 additions and 7 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue