@whisperr/wizard 0.5.1 → 0.5.2
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/README.md +1 -1
- package/dist/index.js +4 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -59,7 +59,7 @@ Development overrides:
|
|
|
59
59
|
- `WHISPERR_WIZARD_SERVICE_TIER`
|
|
60
60
|
- `WHISPERR_WIZARD_EXPLORER_MODEL`
|
|
61
61
|
- `WHISPERR_WIZARD_EXPLORER_EFFORT`
|
|
62
|
-
- `WHISPERR_WIZARD_DIRECT_OPENAI_KEY`
|
|
62
|
+
- `WHISPERR_WIZARD_DIRECT_OPENAI_KEY`
|
|
63
63
|
- `WHISPERR_WIZARD_LOG_DIR` to place private diagnostic logs in a specific directory outside the target repository
|
|
64
64
|
|
|
65
65
|
## Diagnostics
|
package/dist/index.js
CHANGED
|
@@ -1950,7 +1950,7 @@ function resolveConfig(flags = {}) {
|
|
|
1950
1950
|
const apiBaseUrl = stripTrailingSlashes(
|
|
1951
1951
|
flags.apiBaseUrl ?? process.env.WHISPERR_WIZARD_API_BASE ?? DEFAULT_API_BASE
|
|
1952
1952
|
);
|
|
1953
|
-
const directOpenAIKey = process.env.WHISPERR_WIZARD_DIRECT_OPENAI_KEY
|
|
1953
|
+
const directOpenAIKey = process.env.WHISPERR_WIZARD_DIRECT_OPENAI_KEY;
|
|
1954
1954
|
const openAIBaseUrl = stripTrailingSlashes(
|
|
1955
1955
|
process.env.WHISPERR_WIZARD_OPENAI_BASE ?? (directOpenAIKey ? "https://api.openai.com/v1" : `${apiBaseUrl}/wizard/openai`)
|
|
1956
1956
|
);
|
|
@@ -3605,6 +3605,9 @@ async function run2(options, diagnostics, context = {}) {
|
|
|
3605
3605
|
{ once: true }
|
|
3606
3606
|
);
|
|
3607
3607
|
diagnostics?.registerSecrets(config.directOpenAIKey);
|
|
3608
|
+
diagnostics?.log("model_transport", {
|
|
3609
|
+
transport: config.directOpenAIKey ? "direct_openai" : "runtime_gateway"
|
|
3610
|
+
});
|
|
3608
3611
|
console.log(banner());
|
|
3609
3612
|
p.intro(theme.signal("Let's build and wire your Whisperr intervention model."));
|
|
3610
3613
|
const detections = await withSpinner(
|