Skip to content

Conversation

@arunsworld
Copy link

  • [X ] I have read CONTRIBUTING.md.
  • [ X] I have created a discussion that was approved by a maintainer (for new features).

When there are no historical messages it makes sense for generation to error when prompt is empty. Also, I believe it makes sense when there are associated files.

However, when there are historical messages, it should be OK to not require a prompt.

This use-case comes up when we're trying to generate from an existing conversation where the last step was the result of a tool call outside of the fantasy framework. This came up during AG-UI support where there is the context of front-end and remote tools with the front-end tool executed on the browser and control then handed over to the agent.

@arunsworld arunsworld force-pushed the make_prompt_optional branch from 1c80164 to abffd06 Compare November 8, 2025 10:57
@arunsworld
Copy link
Author

rebased to v0.2.0 and removed merge conflicts due to change in error handling

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.

1 participant