Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How do I configure the large language models supported by the Magic platform?

2025-08-21 516

The following steps are required to configure Magic's language model:

  1. Getting the environment file: by orderingcp .env.example .envcap (a poem)cp config/.env_super_magic.example .env_super_magicCopying profile templates
  2. Edit Configuration: Fill in the generated .env and .env_super_magic files with the API keys you have for OpenAI format models, such as ChatGPT or other compatible model keys
  3. model validation: Ensure that at least one valid language model API is configured, otherwise the platform will not function properly
  4. service restart: After modifying the configuration, it is recommended to use the./bin/magic.sh restartcommand to restart the service for the configuration to take effect

Note: Magic currently supports mainly Linux/Unix systems and requires a stable network connection to access external API services.

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top