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

Replace the LangChain version of Mustache to chevron #181

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

YusakuNo1
Copy link
Member

No description provided.

@YusakuNo1 YusakuNo1 requested a review from Copilot March 4, 2025 00:58
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Overview

This PR replaces the LangChain version of Mustache with the chevron library in the Prompty system to update the template rendering implementation.

  • Updated pyproject.toml to add chevron and its type definitions.
  • Modified renderers.py to import render from chevron instead of the previous mustache module.

Reviewed Changes

File Description
runtime/prompty/pyproject.toml Added chevron and types-chevron dependencies to align with the upgrade.
runtime/prompty/prompty/renderers.py Replaced the mustache import with chevron's render function for template rendering.

Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.

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