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

Refactor PromptClientInput to accept string array for prompt #336

Merged
merged 2 commits into from
Aug 5, 2024

Commits on Aug 4, 2024

  1. Refactor PromptClientInput to accept string array for prompt

    Updated the `PromptClientInput` method to accept a string array instead of a single string. This change ensures that multiple prompts can be handled, improving input flexibility and client communication. Additionally, modified related method calls to maintain consistency with the new input type.
    Ayymoss committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    aaa2574 View commit details
    Browse the repository at this point in the history
  2. Refactor PromptClientInput to support parsed result and errors

    Updated PromptClientInput to handle parsed input results and return error messages instead of raw strings. Introduced ParsedInputResult<TResult> class to encapsulate parsing results and errors, enhancing client validation and feedback mechanism.
    Ayymoss committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    58ac495 View commit details
    Browse the repository at this point in the history