[codex] add Pi provider driver (AGENT MISTAKE) #2856
ClosedReynear(GitHub profile, opens in a new tab)wants to merge 2 commits into
main fromrefs/pull/2856/headopened View on GitHubgithub-actions[bot](GitHub profile, opens in a new tab) added labelssize:XXL
github-actions[bot](GitHub profile, opens in a new tab) added labelsvouch:unvouched
- @@ -0,0 +299,21 @@299+ turnId: ctx.activeTurnId,300+ payload,301+ source,302+ method,303+ rawPayload,304+ }),305+ );306+ });307+308+ const requireSession = (309+ threadId: ThreadId,310+ ): Effect.Effect<GeminiSessionContext, ProviderAdapterSessionNotFoundError> => {311+ const ctx = sessions.get(threadId);312+ if (!ctx || ctx.stopped) {313+ return Effect.fail(314+ new ProviderAdapterSessionNotFoundError({ provider: PROVIDER, threadId }),315+ );316+ }317+ return Effect.succeed(ctx);318+ };319+packages/contracts/src/settings.ts lines 525 to 531OutdatedResolvedby macroscopeapp[bot](GitHub profile, opens in a new tab)@@ -437,3 +522,10 @@437522 customModels: Schema.optionalKey(Schema.Array(Schema.String)),438523 });439524525+const GeminiSettingsPatch = Schema.Struct({526+ enabled: Schema.optionalKey(Schema.Boolean),527+ binaryPath: Schema.optionalKey(Schema.String),528+ homePath: Schema.optionalKey(Schema.String),529+ customModels: Schema.optionalKey(Schema.Array(Schema.String)),530+ launchArgs: Schema.optionalKey(Schema.String),531+});
Reynear(GitHub profile, opens in a new tab) closed this
Reynear(GitHub profile, opens in a new tab) changed the title
Sign in to join this conversation.
Important
Review skipped#
Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the
.coderabbit.yamlfile in this repository. To trigger a single review, invoke the@coderabbitai reviewcommand.⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Pro
Run ID:
0e66185d-bb01-44ab-8781-daf735fc217fYou can disable this status message by setting the
reviews.review_statustofalsein the CodeRabbit configuration file.Use the checkbox below for a quick retry:
✨ Finishing Touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share