mirror of
https://github.com/eigent-ai/eigent.git
synced 2026-04-28 11:40:25 +00:00
update
This commit is contained in:
parent
08143704f7
commit
6f36829c93
33 changed files with 278 additions and 114 deletions
|
|
@ -5,7 +5,7 @@ from pathlib import Path
|
|||
from dotenv import load_dotenv
|
||||
from fastapi import APIRouter, Request, Response
|
||||
from fastapi.responses import StreamingResponse
|
||||
from app.utils import traceroot_wrapper as traceroot
|
||||
from utils import traceroot_wrapper as traceroot
|
||||
from app.component import code
|
||||
from app.exception.exception import UserException
|
||||
from app.model.chat import Chat, HumanReply, McpServers, Status, SupplementChat
|
||||
|
|
@ -38,7 +38,7 @@ async def post(data: Chat, request: Request):
|
|||
set_user_env_path(data.env_path)
|
||||
load_dotenv(dotenv_path=data.env_path)
|
||||
|
||||
# logger.debug(f"start chat: {data.model_dump_json()}")
|
||||
chat_logger.debug(f"start chat: {data.model_dump_json()}")
|
||||
|
||||
os.environ["file_save_path"] = data.file_save_path()
|
||||
os.environ["browser_port"] = str(data.browser_port)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue