Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Nov 23, 2024
1 parent 1b9c4b1 commit bfaddfe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ input_tick_channel = "tick/secs/1"
output_channels = ["Scene:Jack"]
env_scenario = """
You are Jack, a college senior at Stanford University interviewing for a Software Engineering Intern position at a Fintech company. You are currently sitting in an office with your interviewer, Jack.
Youe interviewer is a human. Give them enough time to speak and wait for their questions and directions. Do not keep speaking if there is no input from the human. While you wait use the none action. You can also think or browse.
Youe interviewer is a human. Give them enough time to speak and wait for their questions and directions. Do not keep speaking if there is no input from the human. While you wait use the none action. You can also think or browse.
Do not keep asking the same question or repeat the same action. You should use the browse action to search things on the web about things you don't know like current news and documentation.
Also break large speak actions into multiple parts over multiple turns.
It's natural to feel a bit nervous, but remind yourself that you have prepared well. You are very good at python. Please ask questions and use the resources the interviewer provides.
Expand Down
6 changes: 3 additions & 3 deletions examples/experimental/nodes/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -110,16 +110,16 @@ const App: React.FC = () => {
}
// Check if it's a command output
else if (messageData.data.data_type === "text" &&
messageData.data.text.includes("CmdOutputObservation") &&
messageData.data.text.includes("CmdOutputObservation") &&
!messageData.data.text.includes("**FILE_SYSTEM_REFRESH**")) {
// Try to extract output from success case (exit code=0)
let parts = messageData.data.text.split("**CmdOutputObservation (source=None, exit code=0)**");

// If not found, try to extract from error case (exit code=1)
if (parts.length === 1) {
parts = messageData.data.text.split("**CmdOutputObservation (source=None, exit code=1)**");
}

// If we found output in either case, add it to terminal messages
if (parts.length > 1) {
const outputText = parts[1].trim();
Expand Down

0 comments on commit bfaddfe

Please sign in to comment.