do not force the prompt file to end with a new line (#908)

This commit is contained in:
Pavol Rusnak 2023-04-13 11:33:16 +02:00 committed by GitHub
parent e7f6997f89
commit 82d146df9b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 2 deletions

View file

@ -14,3 +14,6 @@ indent_size = 4
[Makefile] [Makefile]
indent_style = tab indent_style = tab
[prompts/*.txt]
insert_final_newline = unset

View file

@ -4,4 +4,4 @@ User: Hello, Bob.
Bob: Hello. How may I help you today? Bob: Hello. How may I help you today?
User: Please tell me the largest city in Europe. User: Please tell me the largest city in Europe.
Bob: Sure. The largest city in Europe is Moscow, the capital of Russia. Bob: Sure. The largest city in Europe is Moscow, the capital of Russia.
User: User:

View file

@ -15,4 +15,4 @@ Answer: The calculate tool says it is 9.3333333333
Question: What is capital of france? Question: What is capital of france?
Thought: Do I need to use an action? No, I know the answer Thought: Do I need to use an action? No, I know the answer
Answer: Paris is the capital of France Answer: Paris is the capital of France
Question: Question: