Oneirocom / Magick

Magick is a cutting-edge toolkit for a new kind of AI builder. Make Magick with us!
https://magickml.com
Other
684 stars 110 forks source link

Audit ENV variables #1491

Closed michaelsharpe closed 1 month ago

michaelsharpe commented 1 month ago

We need to remove as many external dependencies from the running Agent class as possible in preparation to bundle the Agent separately. These envs are found in a few places:

We have two kinds of environment variables.

1) Application configuration (port, timeouts, etc) 2) External dependencies (portal API, keywords API, database URL, redis, posthog, etc)

We need to remove as many external dependencies as possible to ensure runtime is easy to set up. Some should be made optional, like Posthog, and definitely the external Portal API.

Another task will be made to make dependencies optional.

HaruHunab1320 commented 1 month ago

✅ Feathers

Required Keys for App.ts

Dependencies:

Configuration:

Optional Keys for App.ts

Configuration

Dependencies

HaruHunab1320 commented 1 month ago

✅ Plugins

Required Keys for /plugins files

Dependencies

Optional Keys for /plugin files

Dependencies CoreLLMService

CoreUserService

Configuration

HaruHunab1320 commented 1 month ago

✅ Agents.ts

Required Keys for Agents.ts

Configuration

Optional Keys

Configuration