mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix(mcp): make embedding batch size a plain constant
The value is already configurable per filter via mcp_semantic_tool_filter.embedding_batch_size, so the extra env-var read was redundant and would require a cross-repo docs entry to satisfy the env-keys documentation check.
This commit is contained in:
parent
005a9c47b3
commit
9c18c6f66d
1 changed files with 1 additions and 1 deletions
|
|
@ -89,7 +89,7 @@ DEFAULT_MCP_SEMANTIC_FILTER_TOP_K = int(os.getenv("DEFAULT_MCP_SEMANTIC_FILTER_T
|
|||
DEFAULT_MCP_SEMANTIC_FILTER_SIMILARITY_THRESHOLD = float(
|
||||
os.getenv("DEFAULT_MCP_SEMANTIC_FILTER_SIMILARITY_THRESHOLD", 0.3)
|
||||
)
|
||||
DEFAULT_EMBEDDING_ENCODER_BATCH_SIZE = int(os.getenv("DEFAULT_EMBEDDING_ENCODER_BATCH_SIZE", 1024))
|
||||
DEFAULT_EMBEDDING_ENCODER_BATCH_SIZE = 1024
|
||||
MAX_MCP_SEMANTIC_FILTER_TOOLS_HEADER_LENGTH = int(os.getenv("MAX_MCP_SEMANTIC_FILTER_TOOLS_HEADER_LENGTH", 150))
|
||||
|
||||
# Semantic Guard Defaults
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue