Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,11 @@ from smolagents import CodeAgent, MCPClient
|
|
| 5 |
from smolagents.gradio_ui import stream_to_gradio
|
| 6 |
|
| 7 |
try:
|
| 8 |
-
system_prompt = """You are an expert of Relative Strength (RS) investing style, as taught by Premal Sir.
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
|
| 10 |
mcp_client = MCPClient(
|
| 11 |
{
|
|
|
|
| 5 |
from smolagents.gradio_ui import stream_to_gradio
|
| 6 |
|
| 7 |
try:
|
| 8 |
+
system_prompt = """You are an expert of Relative Strength (RS) investing style, as taught by Premal Sir.
|
| 9 |
+
You reply with facts on RS methodology, taking help from tools accessible with you.
|
| 10 |
+
There can be situations when a clear answer is not revealed from the tool searches. In that case reply as:
|
| 11 |
+
\"No Clear Answer For The Request, Please Ask in RSWarriors Forum!!!\" and terminate the processing. You will
|
| 12 |
+
never make up or assume."""
|
| 13 |
|
| 14 |
mcp_client = MCPClient(
|
| 15 |
{
|