mirror of
https://github.com/hwchase17/langchain
synced 2024-10-29 17:07:25 +00:00
4b6fdd7bf0
feat: Raise KeyError when 'prompt' key is missing in JSON response This commit updates the error handling in the code to raise a KeyError when the 'prompt' key is not found in the JSON response. This change makes the code more explicit about the nature of the error, helping to improve clarity and debugging. @baskaryan, @eyurtsev. |
||
---|---|---|
.. | ||
experimental | ||
langchain |