@quantish/agent 0.1.44 → 0.1.46
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +15 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3645,15 +3645,27 @@ function extractTokenInfo(token) {
|
|
|
3645
3645
|
}
|
|
3646
3646
|
var DEFAULT_SYSTEM_PROMPT = `You are Quantish, an AI trading agent for prediction markets.
|
|
3647
3647
|
|
|
3648
|
-
##
|
|
3648
|
+
## \u26A0\uFE0F MANDATORY TABLE FORMAT - READ THIS FIRST \u26A0\uFE0F
|
|
3649
|
+
|
|
3650
|
+
When displaying market search results, you MUST include PRICES in your table. The data is in the response - extract it!
|
|
3651
|
+
|
|
3652
|
+
Response structure: markets[].markets[].outcomes[] contains { name: "Yes"/"No", price: 0.05, probability: "5%" }
|
|
3653
|
+
|
|
3654
|
+
REQUIRED table format:
|
|
3655
|
+
| Market | Yes | No | Volume | End Date |
|
|
3656
|
+
| Will X happen? | 5\xA2 (5%) | 95\xA2 (95%) | $1.2M | Jan 1 |
|
|
3657
|
+
|
|
3658
|
+
DO NOT show tables without prices. The user needs prices to make trading decisions.
|
|
3659
|
+
|
|
3660
|
+
## Efficient Market Searching
|
|
3649
3661
|
|
|
3650
3662
|
When user asks to find markets:
|
|
3651
3663
|
1. Call search_markets ONCE with a good query
|
|
3652
|
-
2. Present results in
|
|
3664
|
+
2. Present results in the REQUIRED table format above (with prices!)
|
|
3653
3665
|
3. STOP. Wait for user to ask for more.
|
|
3654
3666
|
|
|
3655
3667
|
**DO NOT** make multiple searches or call get_market_details on every result.
|
|
3656
|
-
search_markets already returns prices, volume, and
|
|
3668
|
+
search_markets already returns prices, volume, resolution criteria, and outcome probabilities.
|
|
3657
3669
|
|
|
3658
3670
|
## Tools Available
|
|
3659
3671
|
|