mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix(config): remove unused DEFAULT_MULTI_STEP_PATTERNS and DEFAULT_CREATIVE_KEYWORDS exports
This commit is contained in:
parent
e6c4e38b0a
commit
1943991f6d
1 changed files with 2 additions and 14 deletions
|
|
@ -7,6 +7,7 @@ All values are configurable via proxy config.yaml.
|
|||
|
||||
from enum import Enum
|
||||
from typing import Dict, List, Optional
|
||||
|
||||
from pydantic import BaseModel, ConfigDict, Field
|
||||
|
||||
|
||||
|
|
@ -20,7 +21,7 @@ class ComplexityTier(str, Enum):
|
|||
|
||||
# ─── Default Keyword Lists ───
|
||||
# Note: Keywords should be full words/phrases to avoid substring false positives.
|
||||
# The matching logic uses word boundary detection for short keywords (<5 chars).
|
||||
# The matching logic uses word boundary detection for single-word keywords.
|
||||
|
||||
DEFAULT_CODE_KEYWORDS: List[str] = [
|
||||
"function", "class", "def", "const", "let", "var",
|
||||
|
|
@ -66,19 +67,6 @@ DEFAULT_SIMPLE_KEYWORDS: List[str] = [
|
|||
# Note: "ok" removed due to false positives (matches "token", "book", etc.)
|
||||
]
|
||||
|
||||
DEFAULT_MULTI_STEP_PATTERNS: List[str] = [
|
||||
"first", "then", "next", "after that", "finally",
|
||||
"step 1", "step 2", "step 3",
|
||||
"1.", "2.", "3.",
|
||||
"a)", "b)", "c)",
|
||||
]
|
||||
|
||||
DEFAULT_CREATIVE_KEYWORDS: List[str] = [
|
||||
"write a story", "write a poem", "creative writing",
|
||||
"brainstorm", "imagine", "fiction", "narrative",
|
||||
"character", "plot", "setting", "dialogue",
|
||||
]
|
||||
|
||||
|
||||
# ─── Default Dimension Weights ───
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue