Skip to content

python: prompt_template_config need change #309

Closed

Description

@joowon-dm-snu

Describe the bug
use import_semantic_skill_from_directory(kernel, skill_dir, skill) function and if its config has no stop_sequence in it,
will raise error if its skill is really used by kernel.

image

I'll open PR, and this bug only need one line changed. see you at PR

To Reproduce
use import_semantic_skill_from_directory(kernel, skill_dir, skill)
and use skill with it.

Expected behavior
even though user didn't provide stop_sequence in config.json, it should be run anyway

Screenshots
check screenshot above

Desktop (please complete the following information):

  • OS: Mac M1
  • IDE: VS code
  • python 3.11

Additional context
Add any other context about the problem here.

Activity

  1. jjhenkel commented on Apr 4, 2023

    @jjhenkel

    Thanks for this! I think I just ran into the same thing (and have a separate fix for it, but we should fix it in both places): see this PR.

  2. jjhenkel commented on Apr 6, 2023

    @jjhenkel

    Alex Chao (@alexchaomander) I think we can close this now, our fix was merged earlier and now Joowon (@joowon-dm-snu)'s fix is merged as well. (Doubly fixed!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions