mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-28 11:40:25 +00:00
Add langfuse and update logger (#952)
Co-authored-by: bytecraftii <bytecraftii@users.noreply.github.com> Co-authored-by: Wendong-Fan <w3ndong.fan@gmail.com>
This commit is contained in:
parent
cf571b73a4
commit
49e148a2f9
63 changed files with 3095 additions and 2430 deletions
|
|
@ -18,9 +18,9 @@ from app.component.model_validation import create_agent
|
|||
from app.model.chat import PLATFORM_MAPPING
|
||||
from camel.types import ModelType
|
||||
from app.component.error_format import normalize_error_to_openai_format
|
||||
from utils import traceroot_wrapper as traceroot
|
||||
import logging
|
||||
|
||||
logger = traceroot.get_logger("model_controller")
|
||||
logger = logging.getLogger("model_controller")
|
||||
|
||||
|
||||
router = APIRouter()
|
||||
|
|
@ -49,7 +49,6 @@ class ValidateModelResponse(BaseModel):
|
|||
|
||||
|
||||
@router.post("/model/validate")
|
||||
@traceroot.trace()
|
||||
async def validate_model(request: ValidateModelRequest):
|
||||
"""Validate model configuration and tool call support."""
|
||||
platform = request.model_platform
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue