diff --git a/backend/.env.dev.example b/backend/.env.dev.example index a1fd6f1..a19668e 100644 --- a/backend/.env.dev.example +++ b/backend/.env.dev.example @@ -29,6 +29,7 @@ MAX_RETRIES=5 # E2B_API_KEY= SERVER_HOST=http://localhost:8000 # 使用 email 注册账号从 https://openalex.org/ 文献 +# OPENALEX_EMAIL=example@example.com OPENALEX_EMAIL= LOG_LEVEL=DEBUG diff --git a/backend/app/core/workflow.py b/backend/app/core/workflow.py index 650ec1b..d7a016d 100644 --- a/backend/app/core/workflow.py +++ b/backend/app/core/workflow.py @@ -81,7 +81,7 @@ class MathModelWorkFlow(WorkFlow): notebook_serializer=notebook_serializer, timeout=3000, ) - + scholar = OpenAlexScholar(task_id=self.task_id, email=settings.OPENALEX_EMAIL) await redis_manager.publish_message( diff --git a/frontend/src/pages/chat/components/ApiDialog.vue b/frontend/src/pages/chat/components/ApiDialog.vue index cc65754..37f72b3 100644 --- a/frontend/src/pages/chat/components/ApiDialog.vue +++ b/frontend/src/pages/chat/components/ApiDialog.vue @@ -267,7 +267,7 @@ const links = {
-
@@ -280,12 +280,12 @@ const links = {
-
-