mirror of
https://github.com/hwchase17/langchain.git
synced 2025-06-26 00:23:25 +00:00
langchain: add missing punctuation in react_single_input.py (#28161)
- [x] **PR title**: "langchain: add missing punctuation in react_single_input.py" - [x] **PR message**: - **Description:** Add missing single quote to line 12: "Invalid Format: Missing 'Action:' after 'Thought:"
This commit is contained in:
parent
76e210a349
commit
22a8652ecc
@ -9,7 +9,7 @@ from langchain.agents.mrkl.prompt import FORMAT_INSTRUCTIONS
|
|||||||
|
|
||||||
FINAL_ANSWER_ACTION = "Final Answer:"
|
FINAL_ANSWER_ACTION = "Final Answer:"
|
||||||
MISSING_ACTION_AFTER_THOUGHT_ERROR_MESSAGE = (
|
MISSING_ACTION_AFTER_THOUGHT_ERROR_MESSAGE = (
|
||||||
"Invalid Format: Missing 'Action:' after 'Thought:"
|
"Invalid Format: Missing 'Action:' after 'Thought:'"
|
||||||
)
|
)
|
||||||
MISSING_ACTION_INPUT_AFTER_ACTION_ERROR_MESSAGE = (
|
MISSING_ACTION_INPUT_AFTER_ACTION_ERROR_MESSAGE = (
|
||||||
"Invalid Format: Missing 'Action Input:' after 'Action:'"
|
"Invalid Format: Missing 'Action Input:' after 'Action:'"
|
||||||
|
Loading…
Reference in New Issue
Block a user