File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -328,7 +328,7 @@ async def setup_clients():
328
328
query_speller = AZURE_SEARCH_QUERY_SPELLER ,
329
329
)
330
330
331
- if AZURE_OPENAI_GPT4V_MODEL :
331
+ if USE_GPT4V :
332
332
if vision_key is None :
333
333
raise ValueError ("Vision key must be set (in Key Vault) to use the vision approach." )
334
334
Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ def mock_blob_container_client(monkeypatch):
235
235
"AZURE_OPENAI_SERVICE" : "test-openai-service" ,
236
236
"AZURE_OPENAI_CHATGPT_DEPLOYMENT" : "test-chatgpt" ,
237
237
"AZURE_OPENAI_EMB_DEPLOYMENT" : "test-ada" ,
238
+ "USE_GPT4V" : "true" ,
238
239
"AZURE_OPENAI_GPT4V_MODEL" : "gpt-4" ,
239
240
"VISION_SECRET_NAME" : "mysecret" ,
240
241
"VISION_ENDPOINT" : "https://testvision.cognitiveservices.azure.com/" ,
You can’t perform that action at this time.
0 commit comments