mirror of
https://github.com/aljazceru/Auto-GPT.git
synced 2026-02-19 05:04:22 +01:00
14 lines
366 B
Python
14 lines
366 B
Python
import os
|
|
|
|
from forge.agent import ForgeAgent
|
|
from forge.sdk import LocalWorkspace
|
|
|
|
from .db import ForgeDatabase
|
|
|
|
database_name = os.getenv("DATABASE_STRING")
|
|
workspace = LocalWorkspace(os.getenv("AGENT_WORKSPACE"))
|
|
database = ForgeDatabase(database_name, debug_enabled=False)
|
|
agent = ForgeAgent(database=database, workspace=workspace)
|
|
|
|
app = agent.get_agent_app()
|