Skip to content

Conversation

@Wangbiao2
Copy link
Contributor

When format_prompt is directly defined in a shell script and contains lengthy content or special characters, decoding issues may occur. This PR introduces a simple capability to read format_prompt from a specified file path when the variable is empty, avoiding potential parsing errors.

@hiyouga hiyouga merged commit dbcfd65 into hiyouga:main Apr 14, 2025
1 check passed
hiyouga pushed a commit that referenced this pull request Oct 4, 2025
* Supports loading format prompt from a file

* [fix] loading format prompt from a file.

---------

Co-authored-by: wangbiao11 <[email protected]>
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.

2 participants