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

prompt(): Implement options.messages #43

Closed
gr2m opened this issue Sep 2, 2024 · 2 comments · Fixed by #49
Closed

prompt(): Implement options.messages #43

gr2m opened this issue Sep 2, 2024 · 2 comments · Fixed by #49
Assignees
Labels
feature New feature or request released

Comments

@gr2m
Copy link
Collaborator

gr2m commented Sep 2, 2024

This would introduce a new call signature. Instead of prompt(message: text, options: PromptOptions), introducing options.messages also introduces the call signature prompt(options: PromptOptions).

See #40 for specs

@gr2m gr2m added pull request welcome Issue is actionable and anyone can claim it feature New feature or request labels Sep 2, 2024
@gr2m gr2m self-assigned this Sep 2, 2024
@gr2m
Copy link
Collaborator Author

gr2m commented Sep 2, 2024

I'm gonna work on this one as it turns out it's necessary for function calling in order to not end up like this 🤣

screenshot of copilot chat where the agent does not retain context of any previous message

@gr2m gr2m removed the pull request welcome Issue is actionable and anyone can claim it label Sep 2, 2024
@gr2m gr2m closed this as completed in #49 Sep 3, 2024
Copy link

github-actions bot commented Sep 3, 2024

🎉 This issue has been resolved in version 2.5.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging a pull request may close this issue.

1 participant