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

Fix HumanMessagePromptTemplate bug #763

Merged
merged 2 commits into from
Aug 14, 2023
Merged

Commits on Aug 14, 2023

  1. 🐛 fix(types.py): handle case where prompt template is not present in …

    …PromptVertex
    
    ℹ️ The code was modified to handle a case where the `template` attribute is not present in the `PromptVertex` class. If the `template` attribute is not found, the code checks if the `prompt` attribute is present and uses its `template` attribute instead. This change ensures that the code does not break when the `template` attribute is missing.
    ogabrielluiz committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    2144e1e View commit details
    Browse the repository at this point in the history
  2. 🐛 fix(utils.py): add condition to check if prompt has 'partial' attri…

    …bute before calling it to prevent error
    ogabrielluiz committed Aug 14, 2023
    Configuration menu
    Copy the full SHA
    e0f625e View commit details
    Browse the repository at this point in the history