PROMPT_BLOCK_LLM_KEY renaming (#1929)

This commit is contained in:
Shuchang Zheng
2025-03-12 02:10:47 -07:00
committed by GitHub
parent a572126d61
commit c5dbe40301
2 changed files with 2 additions and 2 deletions

View File

@@ -99,7 +99,7 @@ class Settings(BaseSettings):
SECONDARY_LLM_KEY: str | None = None
SELECT_AGENT_LLM_KEY: str | None = None
SINGLE_CLICK_AGENT_LLM_KEY: str | None = None
TEXT_ONLY_AGENT_LLM_KEY: str | None = None
PROMPT_BLOCK_LLM_KEY: str | None = None
# COMMON
LLM_CONFIG_TIMEOUT: int = 300
LLM_CONFIG_MAX_TOKENS: int = 4096

View File

@@ -1280,7 +1280,7 @@ async def wrapper():
)
DEFAULT_TEXT_PROMPT_LLM_KEY = settings.TEXT_ONLY_AGENT_LLM_KEY or settings.LLM_KEY
DEFAULT_TEXT_PROMPT_LLM_KEY = settings.PROMPT_BLOCK_LLM_KEY or settings.LLM_KEY
class TextPromptBlock(Block):