Skip to content

Commit

Permalink
do not force the prompt file to end with a new line (ggerganov#908)
Browse files Browse the repository at this point in the history
  • Loading branch information
prusnak authored Apr 13, 2023
1 parent e7f6997 commit 82d146d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,6 @@ indent_size = 4

[Makefile]
indent_style = tab

[prompts/*.txt]
insert_final_newline = unset
2 changes: 1 addition & 1 deletion prompts/chat-with-bob.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ User: Hello, Bob.
Bob: Hello. How may I help you today?
User: Please tell me the largest city in Europe.
Bob: Sure. The largest city in Europe is Moscow, the capital of Russia.
User:
User:
2 changes: 1 addition & 1 deletion prompts/reason-act.txt
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ Answer: The calculate tool says it is 9.3333333333
Question: What is capital of france?
Thought: Do I need to use an action? No, I know the answer
Answer: Paris is the capital of France
Question:
Question:

0 comments on commit 82d146d

Please sign in to comment.