发布

  • Fix reading special character issue for tool resolver (#778)

    frostbyte_neo 发布于 2023-10-16 07:19:30 +00:00

    Description

    For LLM/Prompt/CUSTOM_LLM tool, we need to read file to resolve the
    tool.
    If there is special character, will introduce unexpected error.
    So, we set encoding as "uts-8".

    This is continuing PR for
    https://github.com/microsoft/promptflow/pull/759

    All Promptflow Contribution checklist:

    • The pull request does not introduce [breaking changes].
    • CHANGELOG is updated for new features, bug fixes or other
      significant changes.
    • I have read the contribution guidelines.
    • Create an issue and link to the pull request to get dedicated
      review from promptflow team. Learn more: suggested
      workflow
      .

    General Guidelines and Best Practices

    • Title of the pull request is clear and informative.
    • There are a small number of commits, each of which have an
      informative message. This means that previously merged commits do not
      appear in the history of the PR. For more information on cleaning up the
      commits in your PR, see this
      page
      .

    Testing Guidelines

    • Pull request includes test coverage for the included changes.

    Co-authored-by: Robben Wang robbenwang@microsoft.com

    下载附件