Solved graphrag index can't use other llm problem (#1507)

Co-authored-by: Josh Bradley <joshbradley@microsoft.com>
Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
This commit is contained in:
joeyhacker 2024-12-20 03:49:47 +08:00 committed by GitHub
parent 8368b12532
commit c450f85edd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -238,7 +238,7 @@ def _create_openai_config(config: LLMParameters, azure: bool) -> OpenAIConfig:
)
return PublicOpenAIConfig(
api_key=config.api_key,
base_url=config.proxy,
base_url=config.api_base,
json_strategy=json_strategy,
organization=config.organization,
max_retries=config.max_retries,