MCPcopy
hub / github.com/TanStack/ai / workdir

Method workdir

packages/ai-codex/src/adapters/text.ts:114–120  ·  view source on GitHub ↗
(options: TextOptions<CodexTextProviderOptions>)

Source from the content-addressed store, hash-verified

112 }
113
114 private workdir(options: TextOptions<CodexTextProviderOptions>): string {
115 return (
116 options.modelOptions?.workingDirectory ??
117 this.adapterConfig.cwd ??
118 DEFAULT_WORKDIR
119 )
120 }
121
122 /** Mirror @openai/codex-sdk's `codex exec --experimental-json` invocation. */
123 private buildCommand(

Callers 1

chatStreamMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected