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

Implement human-in-the-loop functionality #243

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

emilschmitz
Copy link

@emilschmitz emilschmitz commented Jan 27, 2025

Description

Add human-in-the-loop functionality #91

User can configure 'Safety Checkpoint' rules in settings. Fuji will ask user for permission when its planned action triggers a checkpoint.

See src/state/currentTask.ts to get a sense of how the HITL functionality fits into the control flow.

Type of Change

[x] New feature (non-breaking change which adds functionality)

How Has This Been Tested?

I've tested it with various HITL rules and instructions.
Sometimes, it still fails. I think experimenting with different prompts in src/helpers/hitl/index.ts could improve performance.

Checklist:

This feature and the code are still a bit rough around the edges (It's my first time using JS). If the maintainers think that this feature is, in principle, good, then I can give it a final polish.

Screenshots (if applicable)

Sorry for the weird artifacts. My screen recorder does not play nice with Fuji, apparently.

Screencast_Copilot

Additional Context

I'm applying for the AI resident position at Normal Computing. I would be excited to bring this self-starter mindset to working on complex AI projects at your company.

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your contribution. We will check and reply to you as soon as possible.

@emilschmitz emilschmitz marked this pull request as ready for review January 28, 2025 18:52
@iAmiRNA
Copy link

iAmiRNA commented Feb 9, 2025

What does this do?

@emilschmitz
Copy link
Author

@iAmiRNA

What does this do?

It makes it so that Fuji asks for permission before executing any action that's been marked as sensitive.
Is there something in particular that was unclear?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants