Skip to content

Commit 9269efa

Browse files
committed
chore: satisfy lint for ai agent overrides
Signed-off-by: betterclever <paliwal.pranjal83@gmail.com>
1 parent b84978e commit 9269efa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

worker/src/components/ai/ai-agent.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,13 +63,13 @@ type AgentTools = ToolSet;
6363
type AgentStepResult = StepResult<AgentTools>;
6464
type AgentGenerationResult = GenerateTextResult<AgentTools, never>;
6565
type ToolResultOutput = ToolResultPart['output'];
66-
type AiSdkOverrides = {
66+
interface AiSdkOverrides {
6767
ToolLoopAgent?: typeof ToolLoopAgent;
6868
stepCountIs?: typeof stepCountIs;
6969
createOpenAI?: typeof createOpenAI;
7070
createGoogleGenerativeAI?: typeof createGoogleGenerativeAI;
7171
createMCPClient?: typeof createMCPClient;
72-
};
72+
}
7373

7474
const inputSchema = inputs({
7575
userInput: port(

0 commit comments

Comments
 (0)