Skip to content

Commit 2739301

Browse files
committed
feat: use checkpoints for handoff
1 parent 3686162 commit 2739301

26 files changed

+2153
-168
lines changed

apps/code/src/main/services/agent/service.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ import {
3434
isOpenAIModel,
3535
} from "@posthog/agent/gateway-models";
3636
import { getLlmGatewayUrl } from "@posthog/agent/posthog-api";
37-
import type { OnLogCallback } from "@posthog/agent/types";
37+
import type * as AgentTypes from "@posthog/agent/types";
3838
import { getCurrentBranch } from "@posthog/git/queries";
3939
import { isAuthError } from "@shared/errors";
4040
import type { AcpMessage } from "@shared/types/session-events";
@@ -177,7 +177,7 @@ function createTappedWritableStream(
177177
});
178178
}
179179

180-
const onAgentLog: OnLogCallback = (level, scope, message, data) => {
180+
const onAgentLog: AgentTypes.OnLogCallback = (level, scope, message, data) => {
181181
const scopedLog = logger.scope(scope);
182182
if (data !== undefined) {
183183
scopedLog[level as keyof typeof scopedLog](message, data);

0 commit comments

Comments
 (0)