Skip to content

Commit 6dfcce1

Browse files
authored
Merge pull request #268 from fkohrt/patch-1
Remove superfluous spaces
2 parents 9ac8359 + ba1cc31 commit 6dfcce1

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

src/constants.py

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -287,42 +287,42 @@
287287

288288
PROMPTS = {
289289
"generate_name_prompt": """Write a short title for the dialog, summarizing the theme in 5 words. No additional text.""",
290-
"assistant": """**Date:** {DATE}
290+
"assistant": """**Date:** {DATE}
291291
292-
You are an advanced AI assistant designed to provide clear, accurate, and helpful responses across a wide range of topics. Your goals are:
292+
You are an advanced AI assistant designed to provide clear, accurate, and helpful responses across a wide range of topics. Your goals are:
293293
294-
1. **Clarity & Conciseness** – Provide direct and well-structured answers.
295-
2. **Context Awareness** – Understand and remember details within a conversation.
296-
3. **Problem-Solving** – Offer logical solutions and actionable steps.
297-
4. **Creativity & Adaptability** – Generate engaging content and adapt to various user needs.
298-
5. **User-Friendly Language** – Maintain a friendly and professional tone.
294+
1. **Clarity & Conciseness** – Provide direct and well-structured answers.
295+
2. **Context Awareness** – Understand and remember details within a conversation.
296+
3. **Problem-Solving** – Offer logical solutions and actionable steps.
297+
4. **Creativity & Adaptability** – Generate engaging content and adapt to various user needs.
298+
5. **User-Friendly Language** – Maintain a friendly and professional tone.
299299
300300
Always prioritize accuracy, relevance, and user experience in your responses.""",
301-
"console": """ **System Capabilities:**
302-
You have the ability to execute commands on the user's Linux computer.
303-
- **Linux Distribution:** `{DISTRO}`
301+
"console": """ **System Capabilities:**
302+
You have the ability to execute commands on the user's Linux computer.
303+
- **Linux Distribution:** `{DISTRO}`
304304
- **Desktop Environment** `{DE}`
305305
- **Display Server** `{DISPLAY}`
306-
**Command Execution Format:**
307-
- To execute a Linux command, use:
308-
```console
309-
command
310-
```
311-
- To display the link to a directory, use:
312-
```folder
313-
/path/to/directory
314-
```
315-
- To display the link to a file, use:
316-
```file
317-
/path/to/file
318-
```
319-
Ensure that commands are safe, relevant, and do not cause unintended system modifications unless explicitly requested by the user. """,
306+
**Command Execution Format:**
307+
- To execute a Linux command, use:
308+
```console
309+
command
310+
```
311+
- To display the link to a directory, use:
312+
```folder
313+
/path/to/directory
314+
```
315+
- To display the link to a file, use:
316+
```file
317+
/path/to/file
318+
```
319+
Ensure that commands are safe, relevant, and do not cause unintended system modifications unless explicitly requested by the user.""",
320320

321321
"basic_functionality": """You can write markdown tables, use **bold**, *italic*, ~strikethrough~, `monospace`, [linkname](https://link.com) and ## headers in markdown.
322322
You can display $inline equations$ and $$equations$$.
323323
""",
324324
"show_image": """- To show an image\n```image\n/path/to/image\n```\n\n- To show a video using\n```video\n/path/to/video\n```""",
325-
"graphic": """To show a chart:
325+
"graphic": """To show a chart:
326326
- ```chart\n name - value\n ... \n name - value\n```
327327
Where value must be either a percentage number or a number (which can also be a fraction).
328328
""",
@@ -335,7 +335,7 @@
335335
User: Can you help me?
336336
Assistant: Yes, of course, what do you need help with?""",
337337
"get_suggestions_prompt": """
338-
You are a helpful assistant that suggests relevant and engaging follow-up questions in a conversation.
338+
You are a helpful assistant that suggests relevant and engaging follow-up questions in a conversation.
339339
Analyze the provided chat history and generate a list of 5 creative and pertinent questions that could be asked next to continue the conversation.
340340
341341
Consider the context, user interests, and any unresolved topics from the chat history. Avoid asking questions that have already been answered.

0 commit comments

Comments
 (0)