ChatDev icon indicating copy to clipboard operation
ChatDev copied to clipboard

These parameters can be replaced

Open xjspace opened this issue 3 years ago • 2 comments

#openAI OPENAI_BASE_URL OPENAI_API_KEY example #cladue2 cladue2_BASE_URL cladue2_API_KEY

These parameters can be replaced with a configuration file, preferably with other APIs to increase their flexibility

xjspace avatar Sep 03 '23 01:09 xjspace

Configuration for OpenAI API

openai: base_url: OPENAI_BASE_URL api_key: OPENAI_API_KEY

Configuration for Example API

example: base_url: EXAMPLE_BASE_URL api_key: EXAMPLE_API_KEY

Configuration for Claude2 API

claude2: base_url: CLAUDE2_BASE_URL api_key: CLAUDE2_API_KEY

ashish2508 avatar Sep 03 '23 03:09 ashish2508

Thank you. We have noticed that the community wants a general endpoint for either local-host LLM or other online API. We would consider making a update about it in the near future.

thinkwee avatar Sep 04 '23 06:09 thinkwee