File tree 2 files changed +2
-2
lines changed
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):
52
52
else :
53
53
if not testing :
54
54
load_dotenv (override = True )
55
- logging .basicConfig (level = logging .INFO )
55
+ logging .basicConfig (level = logging .DEBUG )
56
56
# Turn off particularly noisy INFO level logs from Azure Core SDK:
57
57
logging .getLogger ("azure.core.pipeline.policies.http_logging_policy" ).setLevel (logging .WARNING )
58
58
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(
14
14
OPENAI_CHAT_HOST = os .getenv ("OPENAI_CHAT_HOST" )
15
15
if OPENAI_CHAT_HOST == "azure" :
16
16
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/"
18
18
azure_deployment = os .environ ["AZURE_OPENAI_CHAT_DEPLOYMENT" ]
19
19
if api_key := os .getenv ("AZURE_OPENAI_KEY" ):
20
20
logger .info (
You can’t perform that action at this time.
0 commit comments