d676150f9c
- Simplified Python gateway coordination by removing reference counting and idle timeout functionality. - Updated Python kernel initialization to support environment variable setup and working directory configuration. - Modified interactive status display to show Python and venv paths instead of client counts. - Updated system prompt to clarify CHECKPOINT step 0 timing after user request completion.
18 lines
494 B
TypeScript
18 lines
494 B
TypeScript
import { describe, expect, it } from "bun:test";
|
|
import { buildSystemPrompt } from "../../src/core/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("**python:** stateful scripting and REPL work");
|
|
expect(prompt).toContain("What python IS for");
|
|
});
|
|
});
|