Skip to content

Commit c450f85

Browse files
joeyhackerjgbradley1AlonsoGuevara
authored
Solved graphrag index can't use other llm problem (#1507)
Co-authored-by: Josh Bradley <[email protected]> Co-authored-by: Alonso Guevara <[email protected]>
1 parent 8368b12 commit c450f85

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

graphrag/index/llm/load_llm.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ def _create_openai_config(config: LLMParameters, azure: bool) -> OpenAIConfig:
238238
)
239239
return PublicOpenAIConfig(
240240
api_key=config.api_key,
241-
base_url=config.proxy,
241+
base_url=config.api_base,
242242
json_strategy=json_strategy,
243243
organization=config.organization,
244244
max_retries=config.max_retries,

0 commit comments

Comments
 (0)