mirror of https://github.com/buster-so/buster.git
more changes
This commit is contained in:
parent
8f58ff84de
commit
7e6e406727
|
@ -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',
|
||||||
|
|
|
@ -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>(
|
||||||
|
|
Loading…
Reference in New Issue