File tree Expand file tree Collapse file tree
frontend/src/pages/chat/components Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ MAX_RETRIES=5
2929# E2B_API_KEY=
3030SERVER_HOST=http://localhost:8000
3131# 使用 email 注册账号从 https://openalex.org/ 文献
32+ # OPENALEX_EMAIL=example@example.com
3233OPENALEX_EMAIL=
3334
3435LOG_LEVEL=DEBUG
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ async def execute(self, problem: Problem):
8181 notebook_serializer = notebook_serializer ,
8282 timeout = 3000 ,
8383 )
84-
84+
8585 scholar = OpenAlexScholar (task_id = self .task_id , email = settings .OPENALEX_EMAIL )
8686
8787 await redis_manager .publish_message (
Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ const links = {
267267 <div class =" space-y-1" >
268268 <Label :for =" `${config.key}-api-key`" class =" text-xs text-muted-foreground" >API Key</Label >
269269 <div class =" flex items-center gap-2" >
270- <Input :id =" `${config.key}-api-key`" v-model =" (form as any)[config.key].apiKey" type =" password"
270+ <Input :id =" `${config.key}-api-key`" v-model.trim =" (form as any)[config.key].apiKey" type =" password"
271271 placeholder =" 请输入 API Key" class =" h-7 text-xs flex-1" />
272272 <div v-if =" validationResults[config.key as keyof typeof validationResults].message"
273273 class =" flex items-center" >
@@ -280,12 +280,12 @@ const links = {
280280 <div class =" grid grid-cols-2 gap-2" >
281281 <div class =" space-y-1" >
282282 <Label :for =" `${config.key}-base-url`" class =" text-xs text-muted-foreground" >Base URL</Label >
283- <Input :id =" `${config.key}-base-url`" v-model =" (form as any)[config.key].baseUrl"
283+ <Input :id =" `${config.key}-base-url`" v-model.trim =" (form as any)[config.key].baseUrl"
284284 placeholder =" https://api.deepseek.com" class =" h-7 text-xs" />
285285 </div >
286286 <div class =" space-y-1" >
287287 <Label :for =" `${config.key}-model-id`" class =" text-xs text-muted-foreground" >Model ID</Label >
288- <Input :id =" `${config.key}-model-id`" v-model =" (form as any)[config.key].modelId"
288+ <Input :id =" `${config.key}-model-id`" v-model.trim =" (form as any)[config.key].modelId"
289289 placeholder =" provider/model_id" class =" h-7 text-xs" />
290290 </div >
291291 </div >
You can’t perform that action at this time.
0 commit comments