prompt-forge-studio-cli 1.0.3 → 1.0.4
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/package.json +2 -2
- package/src/api.js +2 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "prompt-forge-studio-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"description": "Professional terminal-native prompt engineering studio",
|
|
5
5
|
"main": "src/index.js",
|
|
6
6
|
"bin": {
|
|
@@ -21,6 +21,6 @@
|
|
|
21
21
|
"gradient-string": "^3.0.0",
|
|
22
22
|
"inquirer": "^8.2.7",
|
|
23
23
|
"ora": "^5.4.1",
|
|
24
|
-
"prompt-forge-studio-cli": "^1.0.
|
|
24
|
+
"prompt-forge-studio-cli": "^1.0.3"
|
|
25
25
|
}
|
|
26
26
|
}
|
package/src/api.js
CHANGED
|
@@ -16,11 +16,10 @@ async function generateResponse(prompt, model) {
|
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
// Send request to your local or deployed Prompt Forge instance
|
|
19
|
-
//
|
|
20
|
-
// We'll default to 127.0.0.1 instead of localhost to bypass Node's IPv6 resolution delay on Windows.
|
|
19
|
+
// We default to the production URL, but users can override this in their forge.config.json
|
|
21
20
|
const { getConfig } = require('./config');
|
|
22
21
|
const config = getConfig() || {};
|
|
23
|
-
const baseUrl = config.host || '
|
|
22
|
+
const baseUrl = config.host || 'https://www.promptforgestudio.com';
|
|
24
23
|
|
|
25
24
|
const payload = { prompt };
|
|
26
25
|
if (model) {
|