Open kutchamark opened 3 weeks ago
im using this setting PORT = 667
OPENAI_API_KEY = "sk-proj-" ANTHROPIC_API_KEY = "" COFOUNDER_API_KEY = "-"
LLM_PROVIDER = "ANTHROPIC" #"OPENAI"
EMBEDDING_MODEL = "text-embedding-3-small"
RAG_REMOTE_ENABLE = TRUE
STATE_LOCAL = TRUE # persist locally AUTOEXPORT_ENABLE = TRUE # writes generated app files on each increment ; keep , necessary now AUTOINSTALL_ENABLE = TRUE # runs "npm i" on exported projects whenever dependencies from generated code change EXPORT_APPS_ROOT = "../../apps"
DESIGNER_ENABLE = TRUE DESIGNER_DESIGN_SYSTEM = "presets/shadcn" #"presets/shadcn"
SWARM_ENABLE = TRUE
COFOUNDER_NICKNAME = "Cofounder"
and it change the using api by it self it go use open ai instead of ANTHROPIC_API_KEY
im using this setting PORT = 667
OPENAI_API_KEY = "sk-proj-" ANTHROPIC_API_KEY = "" COFOUNDER_API_KEY = "-"
llm, can be 'ANTHROPIC' (for claude sonnet 3.5) or 'OPENAI' (uses diff. models for diff. passes)
make sure there are matching api keys
LLM_PROVIDER = "ANTHROPIC" #"OPENAI"
should be kept to "text-embedding-3-small" to work with RAG using api.cofounder.openinterface.ai
EMBEDDING_MODEL = "text-embedding-3-small"
RAG from index (from api.cofounder.openinterface.ai )
enables features from { designer, swarm{externalapis} , ... }
recommended to keep ; after alpha , in v1 release , big index will be release & downloadable to local
RAG_REMOTE_ENABLE = TRUE
STATE_LOCAL = TRUE # persist locally AUTOEXPORT_ENABLE = TRUE # writes generated app files on each increment ; keep , necessary now AUTOINSTALL_ENABLE = TRUE # runs "npm i" on exported projects whenever dependencies from generated code change EXPORT_APPS_ROOT = "../../apps"
these triggers the design system guided designer, generates a mockup layout image before implementing code
DESIGNER_ENABLE = TRUE DESIGNER_DESIGN_SYSTEM = "presets/shadcn" #"presets/shadcn"
enables : code review after code generated , augment features like searching for external apis to implement in server , ...
SWARM_ENABLE = TRUE
OPTIONAL
COFOUNDER_NICKNAME = "Cofounder"
and it change the using api by it self it go use open ai instead of ANTHROPIC_API_KEY