This commit is contained in:
@ -1,7 +1,7 @@
|
||||
from typing import Optional, Dict
|
||||
from dataclasses import dataclass
|
||||
import os
|
||||
from config.settings import settings
|
||||
from config import settings
|
||||
from openai import OpenAI
|
||||
from utils import logger
|
||||
|
||||
@ -11,10 +11,10 @@ class LLMConfig:
|
||||
"""LLM配置类"""
|
||||
api_key: Optional[str] = None
|
||||
base_url: str = "https://dashscope.aliyuncs.com/compatible-mode/v1"
|
||||
model: str = "qwen3.5-plus"
|
||||
model: str = settings.LLM_MODEL
|
||||
enable_thinking: bool = True
|
||||
temperature: float = 0.7
|
||||
max_tokens: int = 4096
|
||||
max_tokens: int = settings.LLM_MAX_TOKENS
|
||||
|
||||
|
||||
class LLMThinkingEngine:
|
||||
|
||||
Reference in New Issue
Block a user