solana-agent 4.0.0__tar.gz → 4.0.1__tar.gz
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.
- {solana_agent-4.0.0 → solana_agent-4.0.1}/PKG-INFO +1 -1
- {solana_agent-4.0.0 → solana_agent-4.0.1}/pyproject.toml +1 -1
- {solana_agent-4.0.0 → solana_agent-4.0.1}/solana_agent/ai.py +1 -7
- {solana_agent-4.0.0 → solana_agent-4.0.1}/LICENSE +0 -0
- {solana_agent-4.0.0 → solana_agent-4.0.1}/README.md +0 -0
- {solana_agent-4.0.0 → solana_agent-4.0.1}/solana_agent/__init__.py +0 -0
|
@@ -72,7 +72,6 @@ class AI:
|
|
|
72
72
|
openai_base_url: str = None,
|
|
73
73
|
tool_calling_model: str = "gpt-4o-mini",
|
|
74
74
|
reasoning_model: str = "gpt-4o-mini",
|
|
75
|
-
reasoning_instructions: str = None,
|
|
76
75
|
):
|
|
77
76
|
"""Initialize a new AI assistant instance.
|
|
78
77
|
|
|
@@ -91,7 +90,6 @@ class AI:
|
|
|
91
90
|
openai_base_url (str, optional): Base URL for OpenAI API. Defaults to None
|
|
92
91
|
tool_calling_model (str, optional): Model for tool calling. Defaults to "gpt-4o-mini"
|
|
93
92
|
reasoning_model (str, optional): Model for reasoning. Defaults to "gpt-4o-mini"
|
|
94
|
-
reasoning_instructions (str, optional): Instructions for reasoning. Defaults to None
|
|
95
93
|
Example:
|
|
96
94
|
```python
|
|
97
95
|
ai = AI(
|
|
@@ -124,11 +122,7 @@ class AI:
|
|
|
124
122
|
You always take the Tool Result over the Memory Context in terms of priority.
|
|
125
123
|
"""
|
|
126
124
|
self._instructions = instructions
|
|
127
|
-
self._reasoning_instructions =
|
|
128
|
-
reasoning_instructions + " " + self._memory_instructions
|
|
129
|
-
if reasoning_instructions
|
|
130
|
-
else self._memory_instructions
|
|
131
|
-
)
|
|
125
|
+
self._reasoning_instructions = self._memory_instructions + " " + instructions
|
|
132
126
|
self._database: MongoDatabase = database
|
|
133
127
|
self._accumulated_value_queue = asyncio.Queue()
|
|
134
128
|
if zep_api_key and not zep_base_url:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|