mirror of
https://github.com/hwchase17/langchain
synced 2024-11-16 06:13:16 +00:00
docs: update parse_partial_json source info (#17036)
- **Description:** Update source-link following recent license update at open-interpreter project - **Issue:** N/A - **Dependencies:** None
This commit is contained in:
parent
83fbf0e11a
commit
cf01fc3790
@ -44,7 +44,7 @@ def _custom_parser(multiline_string: str) -> str:
|
||||
return multiline_string
|
||||
|
||||
|
||||
# Adapted from https://github.com/KillianLucas/open-interpreter/blob/main/interpreter/utils/parse_partial_json.py
|
||||
# Adapted from https://github.com/KillianLucas/open-interpreter/blob/5b6080fae1f8c68938a1e4fa8667e3744084ee21/interpreter/utils/parse_partial_json.py
|
||||
# MIT License
|
||||
def parse_partial_json(s: str, *, strict: bool = False) -> Any:
|
||||
"""Parse a JSON string that may be missing closing braces.
|
||||
|
Loading…
Reference in New Issue
Block a user