Skip to content

Commit

Permalink
fix: patch circular import
Browse files Browse the repository at this point in the history
  • Loading branch information
cpacker committed Sep 10, 2024
1 parent 6787aa3 commit 6617cd5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion memgpt/cli/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from memgpt.schemas.enums import OptionState
from memgpt.schemas.llm_config import LLMConfig
from memgpt.schemas.memory import ChatMemory, Memory
from memgpt.server.rest_api.app import start_server
from memgpt.server.server import logger as server_logger

# from memgpt.interface import CLIInterface as interface # for printing to terminal
Expand Down Expand Up @@ -321,6 +320,8 @@ def server(
sys.exit(1)

try:
from memgpt.server.rest_api.app import start_server

start_server(port=port, host=host, debug=debug)

except KeyboardInterrupt:
Expand Down

0 comments on commit 6617cd5

Please sign in to comment.