Skip to content

Commit bd492d8

Browse files
committed
Unblackened code to test pre-commit-ci/lite-action still works
1 parent 9447225 commit bd492d8

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

src/paperqa/core.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,9 @@
1616
logger = logging.getLogger(__name__)
1717

1818

19-
def llm_parse_json(text: str) -> dict[str, JsonValue]:
19+
def llm_parse_json(
20+
text: str
21+
) -> dict[str, JsonValue]:
2022
"""Read LLM output and extract JSON data from it."""
2123
# Removing <think> tags for reasoning models
2224
ptext = re.sub(r"<think>.*?</think>", "", text, flags=re.DOTALL).strip()

0 commit comments

Comments
 (0)