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():
328328 query_speller = AZURE_SEARCH_QUERY_SPELLER ,
329329 )
330330
331- if AZURE_OPENAI_GPT4V_MODEL :
331+ if USE_GPT4V :
332332 if vision_key is None :
333333 raise ValueError ("Vision key must be set (in Key Vault) to use the vision approach." )
334334
Original file line number Diff line number Diff line change @@ -235,6 +235,7 @@ def mock_blob_container_client(monkeypatch):
235235 "AZURE_OPENAI_SERVICE" : "test-openai-service" ,
236236 "AZURE_OPENAI_CHATGPT_DEPLOYMENT" : "test-chatgpt" ,
237237 "AZURE_OPENAI_EMB_DEPLOYMENT" : "test-ada" ,
238+ "USE_GPT4V" : "true" ,
238239 "AZURE_OPENAI_GPT4V_MODEL" : "gpt-4" ,
239240 "VISION_SECRET_NAME" : "mysecret" ,
240241 "VISION_ENDPOINT" : "https://testvision.cognitiveservices.azure.com/" ,
You can’t perform that action at this time.
0 commit comments