File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,30 @@ start_agent() {
115115 # Change to tutorial directory
116116 cd " $tutorial_path " || return 1
117117
118+ # Debug current directory and virtualenv status
119+ echo -e " ${YELLOW} DEBUG: Current directory: $PWD ${NC} "
120+ echo -e " ${YELLOW} DEBUG: Tutorial path: $tutorial_path ${NC} "
121+
122+ # Check if .venv exists
123+ echo -e " ${YELLOW} DEBUG: Tutorial .venv contents:${NC} "
124+ if [ -d " .venv" ]; then
125+ ls -la .venv/ || echo " Cannot list .venv contents"
126+ else
127+ echo " No .venv directory found"
128+ fi
129+
130+ # Check what packages are available in rye context
131+ echo -e " ${YELLOW} DEBUG: Available packages in tutorial rye context:${NC} "
132+ rye run pip list 2> /dev/null || echo " Cannot list packages"
133+
134+ # Specifically check for agentex-sdk
135+ echo -e " ${YELLOW} DEBUG: Checking for agentex-sdk:${NC} "
136+ rye run pip show agentex-sdk 2> /dev/null || echo " agentex-sdk not found in virtualenv"
137+
138+ # Show rye project status
139+ echo -e " ${YELLOW} DEBUG: Rye show output:${NC} "
140+ rye show 2> /dev/null || echo " No rye project detected"
141+
118142 # Start the agent in background and capture PID
119143 local agentex_cmd=$( get_agentex_command)
120144 $agentex_cmd agents run --manifest manifest.yaml > " $logfile " 2>&1 &
You can’t perform that action at this time.
0 commit comments