Skip to content

Commit 49171dd

Browse files
authored
Merge pull request #120 from tcdent/v-0.2.2
Fix entrypoint filename for `agentstack run`
2 parents e48d064 + 8a3fd65 commit 49171dd

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

agentstack/cli/cli.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ def run_project(framework: str, path: str = ''):
168168
sys.exit(1)
169169

170170
load_dotenv(_path / '.env') # explicitly load the project's .env file
171-
entrypoint = _path / frameworks.get_entrypoint_path(framework)
172-
subprocess.run(['python', entrypoint], env=os.environ)
171+
subprocess.run(['python', 'src/main.py'], env=os.environ)
173172

174173

175174
def ask_framework() -> str:

0 commit comments

Comments
 (0)