rn-ai 0.3.0 → 0.3.1
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/cli.js +11 -2
- package/package.json +1 -1
package/cli.js
CHANGED
|
@@ -108,6 +108,9 @@ BYTESCALE_API_KEY=""
|
|
|
108
108
|
|
|
109
109
|
# Replicate secret (optional) https://replicate.com/
|
|
110
110
|
REPLICATE_KEY=""
|
|
111
|
+
|
|
112
|
+
# Gemini API Key (optional) https://makersuite.google.com
|
|
113
|
+
GEMINI_API_KEY=""
|
|
111
114
|
`
|
|
112
115
|
|
|
113
116
|
if (withEnv === 'yes') {
|
|
@@ -116,7 +119,7 @@ REPLICATE_KEY=""
|
|
|
116
119
|
|
|
117
120
|
console.log('Get Fal API Key at https://www.fal.ai')
|
|
118
121
|
const fal_api_key = await input({ message: "Fal API Key" })
|
|
119
|
-
|
|
122
|
+
|
|
120
123
|
console.log('(optional) Get Anthropic API Key at https://console.anthropic.com')
|
|
121
124
|
const anthropic_api_key = await input({ message: "Anthropic API Key" })
|
|
122
125
|
|
|
@@ -128,7 +131,10 @@ REPLICATE_KEY=""
|
|
|
128
131
|
|
|
129
132
|
console.log('(optional) Get Replicate API Key at https://replicate.com')
|
|
130
133
|
const replicate_api_key = await input({ message: "Replicate API Key" })
|
|
131
|
-
|
|
134
|
+
|
|
135
|
+
console.log('(optional) Get Gemini API Key at https://makersuite.google.com')
|
|
136
|
+
const gemeni_api_key = await input({ message: "Gemini API Key" })
|
|
137
|
+
|
|
132
138
|
envs = `
|
|
133
139
|
# environment, either PRODUCTION or DEVELOPMENT
|
|
134
140
|
ENVIRONMENT="PRODUCTION"
|
|
@@ -150,6 +156,9 @@ FAL_API_KEY="${fal_api_key}"
|
|
|
150
156
|
|
|
151
157
|
# Replicate secret
|
|
152
158
|
REPLICATE_KEY="${replicate_api_key}"
|
|
159
|
+
|
|
160
|
+
# Gemini API Key
|
|
161
|
+
# GEMINI_API_KEY=${gemeni_api_key}
|
|
153
162
|
`
|
|
154
163
|
}
|
|
155
164
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rn-ai",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.1",
|
|
4
4
|
"description": "Full stack mobile framework for building cross-platform mobile AI apps supporting image processing, real-time / streaming text and chat UIs, and image uploads with multiple service providers.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": "cli.js",
|