Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
@@ -39,7 +39,7 @@ def generate_search(query: str, stream: bool = True) -> str:
|
|
39 |
]
|
40 |
|
41 |
# Insert the system prompt at the beginning of the conversation history
|
42 |
-
prompt.insert(0, {"content": "Be Helpful and Friendly
|
43 |
|
44 |
payload = {
|
45 |
"is_vscode_extension": True,
|
|
|
39 |
]
|
40 |
|
41 |
# Insert the system prompt at the beginning of the conversation history
|
42 |
+
prompt.insert(0, {"content": "Be Helpful and Friendly", "role": "system"})
|
43 |
|
44 |
payload = {
|
45 |
"is_vscode_extension": True,
|