Baidu_Qianfan needs base_url in Config
Bug description I have read document of Config,[https://docs.deepwisdom.ai/main/zh/guide/get_started/configuration/llm_api_configuration.html]
which said:
If I set these config parameters as same as above, request or url will use default base url:
Bug solved method
1.
May be extract to a abstract function or other way.
- If I add base_url in Config2.yaml, that will be right. But add the description into document.
Environment information
- LLM type and model name:
- System version: Ubuntu 24.04
- Python version: 3.11
- MetaGPT version or branch: git main branch
- packages version:
- installation method:
Screenshots or logs
I configured base_url such as
base_url: "https://qianfan.baidubce.com/v2"
then it works.
This issue has no activity in the past 30 days. Please comment on the issue if you have anything to add.
This issue was closed due to 45 days of inactivity. If you feel this issue is still relevant, please reopen the issue to continue the discussion.