fix(pi): keep interactive sessions open
This commit is contained in:
@@ -77,7 +77,7 @@ def _plan(
|
||||
supervise_plan=None,
|
||||
use_runsc=False,
|
||||
agent_provision=agent_provision or AgentProvisionPlan(
|
||||
template="pi", command="pi", prompt_mode="print_read_prompt_file",
|
||||
template="pi", command="pi", prompt_mode="append_system_prompt",
|
||||
image="bot-bottle-pi:latest", dockerfile="",
|
||||
guest_home="/home/node",
|
||||
instance_name="bot-bottle-demo-abc12",
|
||||
@@ -144,7 +144,7 @@ class TestPiProvisionSkills(unittest.TestCase):
|
||||
class TestPiProvision(unittest.TestCase):
|
||||
def test_creates_dir_and_copies_models_config(self):
|
||||
provision = AgentProvisionPlan(
|
||||
template="pi", command="pi", prompt_mode="print_read_prompt_file",
|
||||
template="pi", command="pi", prompt_mode="append_system_prompt",
|
||||
image="", dockerfile="", guest_home="/home/node",
|
||||
instance_name="bot-bottle-demo-abc12",
|
||||
prompt_file=Path("/tmp/prompt.txt"),
|
||||
@@ -172,7 +172,7 @@ class TestPiProvision(unittest.TestCase):
|
||||
|
||||
def test_dies_when_dir_creation_fails(self):
|
||||
provision = AgentProvisionPlan(
|
||||
template="pi", command="pi", prompt_mode="print_read_prompt_file",
|
||||
template="pi", command="pi", prompt_mode="append_system_prompt",
|
||||
image="", dockerfile="", guest_home="/home/node",
|
||||
instance_name="bot-bottle-demo-abc12",
|
||||
prompt_file=Path("/tmp/prompt.txt"),
|
||||
|
||||
Reference in New Issue
Block a user