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

feat: form input #465

Open
wants to merge 5 commits into
base: v1.0
Choose a base branch
from
Open

feat: form input #465

wants to merge 5 commits into from

Conversation

michaelneale
Copy link
Collaborator

@michaelneale michaelneale commented Dec 13, 2024

This adds some fixes around asking for user input, and also lets goose ask for richer form input. Applies some more type checks around forms and options.

Screenshot 2024-12-13 at 2 47 49 PM

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

ui/desktop/src/utils/askAI.ts Outdated Show resolved Hide resolved
@michaelneale michaelneale requested a review from Copilot December 13, 2024 06:44

Choose a reason for hiding this comment

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

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

Comments suppressed due to low confidence (2)

ui/desktop/src/utils/askAI.ts:146

  • Correct the spelling mistake: 'descriribed' should be 'described'.
You must provide a response strictly as json in the format descriribed. No other

ui/desktop/src/utils/askAI.ts:33

  • Address the inconsistency in the getOptionsFormatterPrompt function. The example JSON response uses 'optionTitle' and 'optionDescription', but the actual implementation uses 'title' and 'description'.
getOptionsFormatterPrompt = (messageContent: string): string => `
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