Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiline and default user messages #5400

Merged
merged 3 commits into from
Dec 5, 2024
Merged

Support multiline and default user messages #5400

merged 3 commits into from
Dec 5, 2024

Conversation

enyst
Copy link
Collaborator

@enyst enyst commented Dec 4, 2024

End-user friendly description of the problem this fixes or functionality that this introduces

  • Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below
    Add support for multiline user messages, and default user message when running headless.

Give a summary of what the PR does, explaining any non-trivial design decisions

This PR proposes a couple of additions for user messages in headless mode

  • read multiline input (fixes an issue where the messages were split and fail on bedrock because "\n" ends up empty)
  • send a default user message ("continue") in headless mode
  • can be disabled with --no-auto-continue

Link of any specific issues this addresses
Fix #5339
Fix #5015


To run this PR locally, use the following command:

docker run -it --rm   -p 3000:3000   -v /var/run/docker.sock:/var/run/docker.sock   --add-host host.docker.internal:host-gateway   -e SANDBOX_RUNTIME_CONTAINER_IMAGE=docker.all-hands.dev/all-hands-ai/runtime:39247db-nikolaik   --name openhands-app-39247db   docker.all-hands.dev/all-hands-ai/openhands:39247db

@enyst enyst requested review from xingyaoww and neubig December 5, 2024 19:51
@enyst enyst merged commit 1146b62 into main Dec 5, 2024
13 checks passed
@enyst enyst deleted the enyst/bedrock branch December 5, 2024 20:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants