Skip to content

Commit

Permalink
Solved graphrag index can't use other llm problem (#1507)
Browse files Browse the repository at this point in the history
Co-authored-by: Josh Bradley <[email protected]>
Co-authored-by: Alonso Guevara <[email protected]>
  • Loading branch information
3 people authored Dec 19, 2024
1 parent 8368b12 commit c450f85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphrag/index/llm/load_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c450f85

Please sign in to comment.