mirror of
https://github.com/JasonYANG170/CodeGeeX4.git
synced 2024-11-27 06:06:33 +00:00
766 B
766 B
Local Mode Tutorial: Local deployment with the Visual Studio Code / Jetbrains extensions
The steps for two platforms are the same.
-
Open the local mode in the extension settings (no need to login).
-
Start Ollama server (other OpenAI compatible APIs are also supported) with the following command (keep the server running in background):
export OLLAMA_ORIGINS="*" ollama run codegeex4 ollama serve
-
Enter the api address and model name in local mode settings. Then enjoy coding with CodeGeeX4!