ocpipe 0.6.12 → 0.6.13
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 +1 -1
- package/src/omp.ts +3 -0
- package/src/types.ts +2 -0
package/package.json
CHANGED
package/src/omp.ts
CHANGED
|
@@ -176,6 +176,9 @@ function buildOmpArgs(
|
|
|
176
176
|
if (thinking) {
|
|
177
177
|
args.push('--thinking', thinking)
|
|
178
178
|
}
|
|
179
|
+
if (omp?.serviceTier) {
|
|
180
|
+
args.push('--service-tier', omp.serviceTier)
|
|
181
|
+
}
|
|
179
182
|
args.push(...(omp?.extraArgs ?? []))
|
|
180
183
|
if (prompt) {
|
|
181
184
|
args.push('--', prompt)
|
package/src/types.ts
CHANGED
|
@@ -148,6 +148,8 @@ export interface OmpOptions {
|
|
|
148
148
|
approvalMode?: string
|
|
149
149
|
/** Thinking effort passed with `--thinking` (default: `high`). */
|
|
150
150
|
thinking?: string
|
|
151
|
+
/** OpenAI service tier passed with `--service-tier` (for example `priority`); omitted when unset. */
|
|
152
|
+
serviceTier?: string
|
|
151
153
|
/** Run Oh My Pi as a continuing headless goal. */
|
|
152
154
|
goalMode?: boolean
|
|
153
155
|
/** Goal objective; setting this also enables goal mode. */
|