eosphoros-ai / DB-GPT

AI Native Data App Development framework with AWEL(Agentic Workflow Expression Language) and Agents
http://docs.dbgpt.cn
MIT License
13.68k stars 1.83k forks source link

[Doc][Agents/Quick Start] Documentation improvement: How to set the LLMClient initial params when using local model? #1950

Open riverhell opened 2 months ago

riverhell commented 2 months ago

Search before asking

Description

How to set the LLMClient initial params when using local model? The default code example for OpenAILLMClient uses "OPENAI_API_BASE"、"OPENAI_API_KEY" environment variable.

Documentation Links

https://www.yuque.com/eosphoros/dbgpt-docs/nfwfycuu024fn648

Are you willing to submit PR?

riverhell commented 1 month ago

Solve it ! https://github.com/eosphoros-ai/DB-GPT/issues/1604#issuecomment-2151499049