solana-agent 29.1.0__py3-none-any.whl → 29.1.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.
- solana_agent/factories/agent_factory.py +1 -1
- {solana_agent-29.1.0.dist-info → solana_agent-29.1.2.dist-info}/METADATA +8 -7
- {solana_agent-29.1.0.dist-info → solana_agent-29.1.2.dist-info}/RECORD +6 -6
- {solana_agent-29.1.0.dist-info → solana_agent-29.1.2.dist-info}/WHEEL +1 -1
- {solana_agent-29.1.0.dist-info → solana_agent-29.1.2.dist-info}/LICENSE +0 -0
- {solana_agent-29.1.0.dist-info → solana_agent-29.1.2.dist-info}/entry_points.txt +0 -0
@@ -176,7 +176,7 @@ class SolanaAgentFactory:
|
|
176
176
|
config=config,
|
177
177
|
api_key=config["gemini"]["api_key"],
|
178
178
|
base_url="https://generativelanguage.googleapis.com/v1beta/openai/",
|
179
|
-
model="gemini-2.5-
|
179
|
+
model="gemini-2.5-flash-preview-04-17",
|
180
180
|
output_guardrails=output_guardrails,
|
181
181
|
) # pragma: no cover
|
182
182
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.3
|
2
2
|
Name: solana-agent
|
3
|
-
Version: 29.1.
|
3
|
+
Version: 29.1.2
|
4
4
|
Summary: AI Agents for Solana
|
5
5
|
License: MIT
|
6
6
|
Keywords: solana,solana ai,solana agent,ai,ai agent,ai agents
|
@@ -120,14 +120,16 @@ Build your AI agents in three lines of code!
|
|
120
120
|
* [text-embedding-3-large](https://platform.openai.com/docs/models/text-embedding-3-large) (embedding)
|
121
121
|
* [tts-1](https://platform.openai.com/docs/models/tts-1) (audio TTS)
|
122
122
|
* [gpt-4o-mini-transcribe](https://platform.openai.com/docs/models/gpt-4o-mini-transcribe) (audio transcription)
|
123
|
-
* [gpt-image-1](https://platform.openai.com/docs/models/gpt-image-1) (image generation)
|
123
|
+
* [gpt-image-1](https://platform.openai.com/docs/models/gpt-image-1) (image generation - can be overridden)
|
124
124
|
* [gpt-4o-mini-search-preview](https://platform.openai.com/docs/models/gpt-4o-mini-search-preview) (Internet search)
|
125
125
|
|
126
126
|
**Grok**
|
127
127
|
* [grok-3-fast](https://x.ai/api#pricing) (agent - optional)
|
128
|
+
* [grok-2-image](https://x.ai/api#pricing) (image generation - optional)
|
128
129
|
|
129
130
|
**Gemini**
|
130
|
-
* [gemini-2.5-
|
131
|
+
* [gemini-2.5-flash-preview-04-17](https://ai.google.dev/gemini-api/docs/models#gemini-2.5-flash-preview) (agent - optional)
|
132
|
+
* [imagen-3.0-generate-002](https://ai.google.dev/gemini-api/docs/models#imagen-3) (image generation - optional)
|
131
133
|
|
132
134
|
## Installation
|
133
135
|
|
@@ -748,7 +750,7 @@ async for response in solana_agent.process("user123", "Send an email to bob@bob.
|
|
748
750
|
|
749
751
|
### Image Generation
|
750
752
|
|
751
|
-
Generate images using OpenAI
|
753
|
+
Generate images using OpenAI, Grok, or Gemini image models and upload them to S3-compatible storage.
|
752
754
|
|
753
755
|
`pip install sakit`
|
754
756
|
|
@@ -756,11 +758,10 @@ Generate images using OpenAI's `gpt-image-1` and upload them to S3-compatible st
|
|
756
758
|
from solana_agent import SolanaAgent
|
757
759
|
|
758
760
|
config = {
|
759
|
-
"openai": {
|
760
|
-
"api_key": "your-openai-api-key" # Required: Your OpenAI API key
|
761
|
-
},
|
762
761
|
"tools": {
|
763
762
|
"image_gen": {
|
763
|
+
"provider": "grok", # Required: either "openai", "grok", or "gemini"
|
764
|
+
"api_key": "your-api-key", # Required: your OpenAI or Grok or Gemini API key
|
764
765
|
"s3_endpoint_url": "https://your-s3-endpoint.com", # Required: e.g., https://nyc3.digitaloceanspaces.com
|
765
766
|
"s3_access_key_id": "YOUR_S3_ACCESS_KEY", # Required: Your S3 access key ID
|
766
767
|
"s3_secret_access_key": "YOUR_S3_SECRET_KEY", # Required: Your S3 secret access key
|
@@ -10,7 +10,7 @@ solana_agent/domains/__init__.py,sha256=HiC94wVPRy-QDJSSRywCRrhrFfTBeHjfi5z-QfZv
|
|
10
10
|
solana_agent/domains/agent.py,sha256=3Q1wg4eIul0CPpaYBOjEthKTfcdhf1SAiWc2R-IMGO8,2561
|
11
11
|
solana_agent/domains/routing.py,sha256=1yR4IswGcmREGgbOOI6TKCfuM7gYGOhQjLkBqnZ-rNo,582
|
12
12
|
solana_agent/factories/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
13
|
-
solana_agent/factories/agent_factory.py,sha256=
|
13
|
+
solana_agent/factories/agent_factory.py,sha256=hnnFy1zw_nKjt34xOncqF1VgQaOoGKJI_0ClHMS_HVI,14288
|
14
14
|
solana_agent/guardrails/pii.py,sha256=FCz1IC3mmkr41QFFf5NaC0fwJrVkwFsxgyOCS2POO5I,4428
|
15
15
|
solana_agent/interfaces/__init__.py,sha256=IQs1WIM1FeKP1-kY2FEfyhol_dB-I-VAe2rD6jrVF6k,355
|
16
16
|
solana_agent/interfaces/client/client.py,sha256=hFYe04lFGbp4BDlUMOnYQrp_SQXFPcktGOwsi0F87vU,3140
|
@@ -36,8 +36,8 @@ solana_agent/services/agent.py,sha256=QoeQq_OEWyLdBS0FPa-lXm5qiE0RnRfrCKiFTfOSGE
|
|
36
36
|
solana_agent/services/knowledge_base.py,sha256=ZvOPrSmcNDgUzz4bJIQ4LeRl9vMZiK9hOfs71IpB7Bk,32735
|
37
37
|
solana_agent/services/query.py,sha256=ENUfs4WSTpODMRXppDVW-Y3li9jYn8pOfQIHIPerUdQ,18498
|
38
38
|
solana_agent/services/routing.py,sha256=C5Ku4t9TqvY7S8wlUPMTC04HCrT4Ib3E8Q8yX0lVU_s,7137
|
39
|
-
solana_agent-29.1.
|
40
|
-
solana_agent-29.1.
|
41
|
-
solana_agent-29.1.
|
42
|
-
solana_agent-29.1.
|
43
|
-
solana_agent-29.1.
|
39
|
+
solana_agent-29.1.2.dist-info/LICENSE,sha256=BnSRc-NSFuyF2s496l_4EyrwAP6YimvxWcjPiJ0J7g4,1057
|
40
|
+
solana_agent-29.1.2.dist-info/METADATA,sha256=VKt0dOQeSe8wkiTeAmKPtwbRmU1tvOxJTGDfT5HY3fs,33853
|
41
|
+
solana_agent-29.1.2.dist-info/WHEEL,sha256=b4K_helf-jlQoXBBETfwnf4B04YC67LOev0jo4fX5m8,88
|
42
|
+
solana_agent-29.1.2.dist-info/entry_points.txt,sha256=-AuT_mfqk8dlZ0pHuAjx1ouAWpTRjpqvEUa6YV3lmc0,53
|
43
|
+
solana_agent-29.1.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|