more changes

This commit is contained in:
dal 2025-08-12 12:10:21 -06:00
parent 8f58ff84de
commit 7e6e406727
No known key found for this signature in database
GPG Key ID: 16F4B0E1E9F61122
2 changed files with 6 additions and 6 deletions

View File

@ -218,12 +218,12 @@ No conversation history available for analysis.`,
toolCalled: 'listAssumptions', toolCalled: 'listAssumptions',
assumptions, assumptions,
}; };
} else {
return {
toolCalled: 'noAssumptions',
assumptions: undefined,
};
} }
return {
toolCalled: 'noAssumptions',
assumptions: undefined,
};
} catch (llmError) { } catch (llmError) {
console.warn('[IdentifyAssumptionsStep] LLM failed to generate valid response:', { console.warn('[IdentifyAssumptionsStep] LLM failed to generate valid response:', {
error: llmError instanceof Error ? llmError.message : 'Unknown error', error: llmError instanceof Error ? llmError.message : 'Unknown error',

View File

@ -66,7 +66,7 @@ export function createModifyReportsDelta(context: ModifyReportsContext, state: M
// Update state edits with streamed data // Update state edits with streamed data
const updatedEdits: ModifyReportsEditState[] = []; const updatedEdits: ModifyReportsEditState[] = [];
editsArray.forEach((edit, index) => { editsArray.forEach((edit, _index) => {
if (edit && typeof edit === 'object') { if (edit && typeof edit === 'object') {
const editObj = edit as Record<string, unknown>; const editObj = edit as Record<string, unknown>;
const codeToReplace = getOptimisticValue<string>( const codeToReplace = getOptimisticValue<string>(