Files
oh-my-pi/packages/coding-agent/test/core/system-prompt.python.test.ts
T
can1357 936fc5ed15 feat(coding-agent): added antigravity provider support for image generation
- Added antigravity provider support for image generation with Google Cloud authentication.
- Added support for google-antigravity API credentials in model registry.
- Added antigravity-specific request handling with SSE streaming.
- Added projectId parameter to antigravity credentials parsing.
- Added antigravity provider to preferred image provider selection.
2026-01-23 12:50:00 +01:00

18 lines
532 B
TypeScript

import { describe, expect, it } from "bun:test";
import { buildSystemPrompt } from "$c/system-prompt";
describe("buildSystemPrompt", () => {
it("includes python tool details when enabled", async () => {
const prompt = await buildSystemPrompt({
cwd: "/tmp",
toolNames: ["python"],
contextFiles: [],
skills: [],
rules: [],
});
expect(prompt).toContain("The Python prelude has helpers for file I/O");
expect(prompt).toContain("Do not run bash then read output then run more bash. Just use Python.");
});
});