Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make format_instructions an optional argument in chat agent (#2931)
* Make format_instructions an optional argument in chat agent This simple change allows users to fully overwrite the prompts when creating a chat agent, and optimize them for their use case. This minimal change makes the agent code much more generally useful. Previously, they could overwrite everything except for FORMAT_INSTRUCTIONS, which is essential to customization. * Add formatInstructions to docstrings and ChatCreatePromptArgs type * Fix typo in docstring * Fix typo * Fix format * Fix typo --------- Co-authored-by: Jacob Lee <jacoblee93@gmail.com>
- Loading branch information