Skip to content

Commit a1b728c

Browse files
update readme and docs
1 parent 1cf40fa commit a1b728c

File tree

3 files changed

+5
-7
lines changed

3 files changed

+5
-7
lines changed

README.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -723,11 +723,10 @@ Generate images using OpenAI's `gpt-image-1` and upload them to S3-compatible st
723723
from solana_agent import SolanaAgent
724724

725725
config = {
726-
"openai": {
727-
"api_key": "your-openai-api-key" # Required: Your OpenAI API key
728-
},
729726
"tools": {
730727
"image_gen": {
728+
"provider": "grok", # Required: either "openai", "grok", or "gemini"
729+
"api_key": "your-api-key", # Required: your OpenAI or Grok or Gemini API key
731730
"s3_endpoint_url": "https://your-s3-endpoint.com", # Required: e.g., https://nyc3.digitaloceanspaces.com
732731
"s3_access_key_id": "YOUR_S3_ACCESS_KEY", # Required: Your S3 access key ID
733732
"s3_secret_access_key": "YOUR_S3_SECRET_KEY", # Required: Your S3 secret access key

docs/index.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -677,11 +677,10 @@ This plugin allows the agent to generate images using OpenAI's image models and
677677
from solana_agent import SolanaAgent
678678
679679
config = {
680-
"openai": {
681-
"api_key": "your-openai-api-key" # Required: Your OpenAI API key
682-
},
683680
"tools": {
684681
"image_gen": {
682+
"provider": "grok", # Required: either "openai", "grok", or "gemini"
683+
"api_key": "your-api-key", # Required: your OpenAI or Grok or Gemini API key
685684
"s3_endpoint_url": "https://your-s3-endpoint.com", # Required: e.g., https://nyc3.digitaloceanspaces.com
686685
"s3_access_key_id": "YOUR_S3_ACCESS_KEY", # Required: Your S3 access key ID
687686
"s3_secret_access_key": "YOUR_S3_SECRET_KEY", # Required: Your S3 secret access key

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tool.poetry]
22
name = "solana-agent"
3-
version = "29.1.1"
3+
version = "29.1.2"
44
description = "AI Agents for Solana"
55
authors = ["Bevan Hunt <bevan@bevanhunt.com>"]
66
license = "MIT"

0 commit comments

Comments
 (0)