Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 721b30e

Browse files
fix: do not include backticks for code blocks (#966)
1 parent 23964e3 commit 721b30e

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/ai/prompts.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ You are a Python code generator that creates self-contained, executable code sni
8282
8383
Examples of good snippets:
8484
85-
\`\`\`python
8685
# Calculate factorial iteratively
8786
def factorial(n):
8887
result = 1
@@ -91,7 +90,6 @@ def factorial(n):
9190
return result
9291
9392
print(f"Factorial of 5 is: {factorial(5)}")
94-
\`\`\`
9593
`;
9694

9795
export const sheetPrompt = `

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ai-chatbot",
3-
"version": "3.0.11",
3+
"version": "3.0.12",
44
"private": true,
55
"scripts": {
66
"dev": "next dev --turbo",

0 commit comments

Comments
 (0)