Skip to content

Commit 82d146d

Browse files
authored
do not force the prompt file to end with a new line (#908)
1 parent e7f6997 commit 82d146d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

.editorconfig

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,6 @@ indent_size = 4
1414

1515
[Makefile]
1616
indent_style = tab
17+
18+
[prompts/*.txt]
19+
insert_final_newline = unset

prompts/chat-with-bob.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ User: Hello, Bob.
44
Bob: Hello. How may I help you today?
55
User: Please tell me the largest city in Europe.
66
Bob: Sure. The largest city in Europe is Moscow, the capital of Russia.
7-
User:
7+
User:

prompts/reason-act.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,4 @@ Answer: The calculate tool says it is 9.3333333333
1515
Question: What is capital of france?
1616
Thought: Do I need to use an action? No, I know the answer
1717
Answer: Paris is the capital of France
18-
Question:
18+
Question:

0 commit comments

Comments
 (0)