solana-agent 19.0.0__py3-none-any.whl → 19.0.2__py3-none-any.whl

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.
@@ -267,13 +267,16 @@ class AgentService(AgentServiceInterface):
267
267
  json_chunk=json_buffer
268
268
  )
269
269
 
270
- system_prompt = self.get_agent_system_prompt(agent_name) + \
270
+ system_prompt = system_prompt + \
271
271
  "\n DO NOT make any tool calls or return JSON."
272
272
 
273
+ user_prompt = f"\n USER QUERY: {query_text} \n"
274
+ user_prompt += f"\n TOOL RESPONSE: {response_text} \n"
275
+
273
276
  # Collect all processed text first
274
277
  processed_text = ""
275
278
  async for processed_chunk in self.llm_provider.generate_text(
276
- prompt=response_text,
279
+ prompt=user_prompt,
277
280
  system_prompt=system_prompt,
278
281
  ):
279
282
  processed_text += processed_chunk
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: solana-agent
3
- Version: 19.0.0
3
+ Version: 19.0.2
4
4
  Summary: Agentic IQ
5
5
  License: MIT
6
6
  Keywords: ai,openai,ai agents,agi
@@ -35,41 +35,36 @@ Description-Content-Type: text/markdown
35
35
 
36
36
  ## Agentic IQ
37
37
 
38
- Power your business using Solana Agent!
38
+ Build your AI business in three lines of code!
39
39
 
40
- * **Brand:** AI agents will speak in your brand voice
41
- * **Expert:** The AI agent with the most expertise will answer your users' inquiries
42
- * **Extend:** Assign tools for your AI agents to perform actions
40
+ ## Why?
41
+ * Three lines of code required
42
+ * Multi-Modal Streaming
43
+ * Conversational Memory & History
44
+ * Intelligent Routing
45
+ * Business Alignment
46
+ * Extensible Tooling
47
+ * Simple Business Definition
48
+ * Tested & Secure
49
+ * Built in Python
50
+ * Deployed by [CometHeart](https://cometheart.com) & [WalletBubbles](https://walletbubbles.com)
43
51
 
44
52
  ## Features
45
53
 
46
54
  * Seamless text and audio streaming with real-time multi-modal processing
47
- * Persistent memory that preserves context across all agent interactions (optional)
55
+ * Persistent memory that preserves context across all agent interactions
56
+ * Streamlined message history for all agent interactions
48
57
  * Intelligent query routing to agents with optimal domain expertise
49
58
  * Unified value system ensuring brand-aligned agent responses
50
59
  * Powerful tool integration using standard Python packages and/or inline classes
51
60
  * Assigned tools are utilized by agents automatically and effectively
52
61
  * Simple business definition using JSON
53
62
 
54
- ## Why?
55
- * Multi-Modal Streaming
56
- * Conversational Memory
57
- * Intelligent Routing
58
- * Business Alignment
59
- * Extensible Tooling
60
- * Simple Business Definition
61
- * Built using OOP & SOLID in Python - the language of AI
62
- * Batteries Included
63
- * Small Library: ~2,000 LOC of code & ~1,200 LOC of tests
64
- * Few Dependencies
65
- * Well Tested
66
- * Used in production by [CometHeart](https://cometheart.com) and [WalletBubbles](https://walletbubbles.com)
67
-
68
63
  ## Stack
69
64
 
70
65
  * [Python](https://python.org) - Programming Language
71
66
  * [OpenAI](https://openai.com) - LLMs
72
- * [MongoDB](https://mongodb.com) - Database
67
+ * [MongoDB](https://mongodb.com) - Conversational History
73
68
  * [Zep](https://getzep.com) - Conversational Memory (optional)
74
69
 
75
70
  ## Installation
@@ -84,7 +79,7 @@ You can install Solana Agent using pip:
84
79
  from solana_agent import SolanaAgent
85
80
 
86
81
  config = {
87
- "business": {
82
+ "business": { # optional
88
83
  "mission": "To provide users with a one-stop shop for their queries.",
89
84
  "values": {
90
85
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -136,7 +131,7 @@ Plugins like Solana Agent Kit (sakit) integrate automatically with Solana Agent.
136
131
  from solana_agent import SolanaAgent
137
132
 
138
133
  config = {
139
- "business": {
134
+ "business": { # optional
140
135
  "mission": "To provide users with a one-stop shop for their queries.",
141
136
  "values": {
142
137
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -241,7 +236,7 @@ class TestTool(Tool):
241
236
  }
242
237
 
243
238
  config = {
244
- "business": {
239
+ "business": { # optional
245
240
  "mission": "To provide users with a one-stop shop for their queries.",
246
241
  "values": {
247
242
  "Friendliness": "Users must be treated fairly, openly, and with friendliness.",
@@ -26,10 +26,10 @@ solana_agent/plugins/tools/auto_tool.py,sha256=eDq2P-_D2PM7Dafpn55b1QU5LkM6BLdJG
26
26
  solana_agent/repositories/__init__.py,sha256=fP83w83CGzXLnSdq-C5wbw9EhWTYtqE2lQTgp46-X_4,163
27
27
  solana_agent/repositories/memory.py,sha256=cDGoRz8FEkjwCE7j0XvA03-NL0TyROAt4_uwx288Th0,4790
28
28
  solana_agent/services/__init__.py,sha256=ab_NXJmwYUCmCrCzuTlZ47bJZINW0Y0F5jfQ9OovidU,163
29
- solana_agent/services/agent.py,sha256=gFM1t9vSu_el0Qk8KXWb9RW7JomRDUZJ7yoBNg4mmuM,16568
29
+ solana_agent/services/agent.py,sha256=b8mqFAmQOb0hn-qi5G7O4pVrpR6i7P9m5pvWfQoPVlA,16699
30
30
  solana_agent/services/query.py,sha256=qXrvzAyMqESdF8QD3xYaz2vyfR7ndLpsh2TahYQ-LYg,10414
31
31
  solana_agent/services/routing.py,sha256=IPvBicgTYXqQ8iIRaatCsBGQVsOBGdAkq2i6U8hZlOY,6479
32
- solana_agent-19.0.0.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
- solana_agent-19.0.0.dist-info/METADATA,sha256=KMTOIdvJzxSP-CpdAVSPPSnIDdBw2crOvivm8NnHrPw,10629
34
- solana_agent-19.0.0.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
35
- solana_agent-19.0.0.dist-info/RECORD,,
32
+ solana_agent-19.0.2.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
33
+ solana_agent-19.0.2.dist-info/METADATA,sha256=YiyiT5J0JdDd9Sct6So7YpyNt7V1cpquaqCboWcVnEk,10420
34
+ solana_agent-19.0.2.dist-info/WHEEL,sha256=XbeZDeTWKc1w7CSIyre5aMDU_-PohRwTQceYnisIYYY,88
35
+ solana_agent-19.0.2.dist-info/RECORD,,