chore(pi): add TODO for mime workaround
parent
42948b70e3
commit
84d5f24f5f
|
|
@ -200,6 +200,8 @@ export async function runEmbeddedPiAgent(params: {
|
||||||
systemPrompt,
|
systemPrompt,
|
||||||
model,
|
model,
|
||||||
thinkingLevel,
|
thinkingLevel,
|
||||||
|
// TODO(steipete): Once pi-mono publishes file-magic MIME detection in `read` image payloads,
|
||||||
|
// remove `createClawdisCodingTools()` and use upstream `codingTools` again.
|
||||||
tools: createClawdisCodingTools(),
|
tools: createClawdisCodingTools(),
|
||||||
},
|
},
|
||||||
messageTransformer,
|
messageTransformer,
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,8 @@ import { codingTools, readTool } from "@mariozechner/pi-coding-agent";
|
||||||
|
|
||||||
import { detectMime } from "../media/mime.js";
|
import { detectMime } from "../media/mime.js";
|
||||||
|
|
||||||
|
// TODO(steipete): Remove this wrapper once pi-mono ships file-magic MIME detection
|
||||||
|
// for `read` image payloads in `@mariozechner/pi-coding-agent` (then switch back to `codingTools` directly).
|
||||||
type ImageContentBlock = {
|
type ImageContentBlock = {
|
||||||
type: "image";
|
type: "image";
|
||||||
data: string;
|
data: string;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue