936fc5ed15
- 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.
18 lines
532 B
TypeScript
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.");
|
|
});
|
|
});
|