mirror of
https://github.com/All-Hands-AI/OpenHands.git
synced 2026-01-09 14:57:59 -05:00
Server: load environment variables from .env and document environment variables (#137)
Server: load environment variables from .env and document environment variables
This commit is contained in:
@@ -1,4 +1,8 @@
|
||||
from . import langchains_agent
|
||||
from . import codeact_agent
|
||||
from dotenv import load_dotenv
|
||||
load_dotenv()
|
||||
|
||||
# Import agents after environment variables are loaded
|
||||
from . import langchains_agent # noqa: E402
|
||||
from . import codeact_agent # noqa: E402
|
||||
|
||||
__all__ = ['langchains_agent', 'codeact_agent']
|
||||
|
||||
Reference in New Issue
Block a user