Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/common/utils/messages/retryState.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export interface RetryState<TError = SendMessageError> {
lastError?: TError;
}

export const INITIAL_DELAY = 1000; // 1 second
export const MAX_DELAY = 60000; // 60 seconds
const INITIAL_DELAY = 1000; // 1 second
const MAX_DELAY = 60000; // 60 seconds

/**
* Utility functions for managing retry state.
Expand Down
2 changes: 1 addition & 1 deletion src/node/services/analytics/etl.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1260,7 +1260,7 @@ async function readDelegationRollupFilesFromDisk(sessionDir: string): Promise<De
return { usageData, reportTokenByChildId };
}

export async function writeDelegationRollupsFromParsed(
async function writeDelegationRollupsFromParsed(
conn: DuckDBConnection,
workspaceId: string,
delegationRollupRaw: DelegationRollupRaw,
Expand Down
24 changes: 0 additions & 24 deletions src/node/services/tools/propose_name.ts

This file was deleted.

6 changes: 2 additions & 4 deletions src/node/services/workspaceTitleGenerator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -224,10 +224,8 @@ export async function generateWorkspaceIdentity(
model: modelResult.data,
prompt: buildWorkspaceIdentityPrompt(message, conversationContext, latestUserMessage),
tools: {
// Defined inline (not via createProposeNameTool factory) so that
// TypeScript preserves full schema inference on toolResult.output.
// The factory exists for the tools system / agent sessions; here we
// need strict typing for the direct streamText consumer path.
// Defined inline so TypeScript preserves full schema inference on
// toolResult.output (the propose_name tool is only used here).
propose_name: tool({
description: TOOL_DEFINITIONS.propose_name.description,
inputSchema: ProposeNameToolArgsSchema,
Expand Down
Loading