Significant-Gravitas / AutoGPT

AutoGPT is the vision of accessible AI for everyone, to use and to build on. Our mission is to provide the tools, so that you can focus on what matters.
https://agpt.co
Other
168.03k stars 44.34k forks source link

Add ZhipuAI models support #7933

Open twinsant opened 2 months ago

twinsant commented 2 months ago

Duplicates

Summary 💡

ZhipuAi is one of the LLMs providers in China, also named China's OpenAI.

Supporting it will gain a lot of Chinese users, maybe.

Examples 🌈

No response

Motivation 🔦

GLM-4-Flash model api is free now :D

ntindle commented 1 month ago

There's two places to update it for.

Old autogpt is in the providers in forge forge/forge/llm/providers and you'll need to implement a new provider there. Take a look at a few of the other providers there for more details on it

New AutoGPT uses rnd/autogpt_server/autogpt_server/blocks/llm.py

github-actions[bot] commented 1 week ago

This issue has automatically been marked as stale because it has not had any activity in the last 50 days. You can unstale it by commenting or removing the label. Otherwise, this issue will be closed in 10 days.