File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ def create_app(testing: bool = False):
5252 else :
5353 if not testing :
5454 load_dotenv (override = True )
55- logging .basicConfig (level = logging .INFO )
55+ logging .basicConfig (level = logging .DEBUG )
5656 # Turn off particularly noisy INFO level logs from Azure Core SDK:
5757 logging .getLogger ("azure.core.pipeline.policies.http_logging_policy" ).setLevel (logging .WARNING )
5858 logging .getLogger ("azure.identity" ).setLevel (logging .WARNING )
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ async def create_openai_chat_client(
1414 OPENAI_CHAT_HOST = os .getenv ("OPENAI_CHAT_HOST" )
1515 if OPENAI_CHAT_HOST == "azure" :
1616 api_version = os .environ ["AZURE_OPENAI_VERSION" ] or "2024-03-01-preview"
17- azure_endpoint = os . environ [ "AZURE_OPENAI_ENDPOINT" ]
17+ azure_endpoint = "https://pf-openai-keylesslf653mu3fc22i-openai.openai.azure.com/"
1818 azure_deployment = os .environ ["AZURE_OPENAI_CHAT_DEPLOYMENT" ]
1919 if api_key := os .getenv ("AZURE_OPENAI_KEY" ):
2020 logger .info (
You can’t perform that action at this time.
0 commit comments