MicroFish/backend/app/utils
Ubuntu c074136a87 fix(llm): centralise Azure URL normalisation in parse_azure_url utility
Extract parse_azure_url from graphiti_backend into utils/llm_client so all
services (oasis_profile_generator, simulation_config_generator, graphiti_backend,
LLMClient) strip the /chat/completions suffix and api-version before passing
base_url to the OpenAI SDK, fixing 404 errors when the full Azure endpoint URL
is set in LLM_BASE_URL.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-25 21:09:48 +00:00
..
__init__.py chore(i18n): replace all hardcoded Chinese strings with English in backend 2026-04-24 23:40:58 +00:00
file_parser.py chore(i18n): replace all hardcoded Chinese strings with English in backend 2026-04-24 23:40:58 +00:00
llm_client.py fix(llm): centralise Azure URL normalisation in parse_azure_url utility 2026-04-25 21:09:48 +00:00
locale.py chore(i18n): replace all hardcoded Chinese strings with English in backend 2026-04-24 23:40:58 +00:00
logger.py chore(i18n): replace all hardcoded Chinese strings with English in backend 2026-04-24 23:40:58 +00:00
retry.py chore(i18n): replace all hardcoded Chinese strings with English in backend 2026-04-24 23:40:58 +00:00
zep_paging.py chore(i18n): replace all hardcoded Chinese strings with English in backend 2026-04-24 23:40:58 +00:00