We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e85baaa commit 509b6a4Copy full SHA for 509b6a4
gptme/llm.py
@@ -104,7 +104,7 @@ def print_clear():
104
sys.stdout.flush()
105
# pause inference on finished code-block, letting user run the command before continuing
106
codeblock_started = "```" in delta_str[:-3]
107
- codeblock_finished = "```" in delta_str[-5:]
+ codeblock_finished = "\n```\n" in delta_str[-7:]
108
if codeblock_started and codeblock_finished:
109
# noreorder
110
from .tools import is_supported_codeblock # fmt: skip
0 commit comments