File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -189,9 +189,10 @@ jobs:
189
189
uv pip install -r requirements-dev.txt
190
190
191
191
- name : Run local server in background
192
+ # RUNNER_TRACKING_ID="" && (nohup python3 -m quart --app main:app run --port 50505 > serverlogs.out 2> serverlogs.err &)
192
193
run : |
193
194
cd app/backend
194
- RUNNER_TRACKING_ID="" && (nohup python3 -m quart --app main:app run --port 50505 > serverlogs.out 2> serverlogs.err &)
195
+ python3 -m quart --app main:app run --port 50505
195
196
cd ../..
196
197
197
198
- name : Install evaluate dependencies
Original file line number Diff line number Diff line change @@ -420,7 +420,7 @@ async def setup_clients():
420
420
OPENAI_HOST = os .getenv ("OPENAI_HOST" , "azure" )
421
421
OPENAI_CHATGPT_MODEL = os .environ ["AZURE_OPENAI_CHATGPT_MODEL" ]
422
422
OPENAI_EMB_MODEL = os .getenv ("AZURE_OPENAI_EMB_MODEL_NAME" , "text-embedding-ada-002" )
423
- OPENAI_EMB_DIMENSIONS = int (os .getenv ("AZURE_OPENAI_EMB_DIMENSIONS" , 1536 ) )
423
+ OPENAI_EMB_DIMENSIONS = int (os .getenv ("AZURE_OPENAI_EMB_DIMENSIONS" ) or 1536 )
424
424
# Used with Azure OpenAI deployments
425
425
AZURE_OPENAI_SERVICE = os .getenv ("AZURE_OPENAI_SERVICE" )
426
426
AZURE_OPENAI_GPT4V_DEPLOYMENT = os .environ .get ("AZURE_OPENAI_GPT4V_DEPLOYMENT" )
You can’t perform that action at this time.
0 commit comments