Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,12 @@ export class RequestInfoFromTableWithAIUseCaseV3
this.setupResponseHeaders(response);

const tools = getOpenAiTools(isMongoDb);
// eslint-disable-next-line prefer-const
let heartbeatInterval: NodeJS.Timeout | null = null;

try {
response.write(`Analyzing your request about the "${tableName}" table...`);
heartbeatInterval = this.setupHeartbeat(response);
// heartbeatInterval = this.setupHeartbeat(response);

const system_prompt = this.createSystemPrompt(tableName, databaseType, foundConnection);

Expand Down