fix: model check for diff mode #239
Annotations
6 errors
tests/unit/task-workflow.test.ts > runAIAssistedTask > should handle diff-based updates when --diff flag is used:
tests/unit/task-workflow.test.ts#L443
AssertionError: expected "parseAICodegenResponse" to be called with arguments: [ …(3) ]
Received:
1st parseAICodegenResponse call:
Array [
"
<file_list>
file1.ts
</file_list>
<file>
<file_path>file1.ts</file_path>
<file_status>modified</file_status>
<file_content language=\"typescript\">
--- file1.ts
+++ file1.ts
@@ -1 +1 @@
-original content
+updated content
</file_content>
</file>
<git_branch_name>feature/diff-task</git_branch_name>
<git_commit_message>Implement diff-based task</git_commit_message>
<summary>Updated file using diff</summary>
<potential_issues>None</potential_issues>
",
undefined,
- true,
+ false,
]
Number of calls: 1
❯ tests/unit/task-workflow.test.ts:443:36
|
test (lts/*, macos-latest)
Process completed with exit code 1.
|
tests/unit/task-workflow.test.ts > runAIAssistedTask > should handle diff-based updates when --diff flag is used:
tests/unit/task-workflow.test.ts#L443
AssertionError: expected "parseAICodegenResponse" to be called with arguments: [ …(3) ]
Received:
1st parseAICodegenResponse call:
Array [
"
<file_list>
file1.ts
</file_list>
<file>
<file_path>file1.ts</file_path>
<file_status>modified</file_status>
<file_content language=\"typescript\">
--- file1.ts
+++ file1.ts
@@ -1 +1 @@
-original content
+updated content
</file_content>
</file>
<git_branch_name>feature/diff-task</git_branch_name>
<git_commit_message>Implement diff-based task</git_commit_message>
<summary>Updated file using diff</summary>
<potential_issues>None</potential_issues>
",
undefined,
- true,
+ false,
]
Number of calls: 1
❯ tests/unit/task-workflow.test.ts:443:36
|
test (lts/*, ubuntu-latest)
Process completed with exit code 1.
|
tests/unit/task-workflow.test.ts > runAIAssistedTask > should handle diff-based updates when --diff flag is used:
tests/unit/task-workflow.test.ts#L443
AssertionError: expected "parseAICodegenResponse" to be called with arguments: [ …(3) ]
Received:
1st parseAICodegenResponse call:
Array [
"
<file_list>
file1.ts
</file_list>
<file>
<file_path>file1.ts</file_path>
<file_status>modified</file_status>
<file_content language=\"typescript\">
--- file1.ts
+++ file1.ts
@@ -1 +1 @@
-original content
+updated content
</file_content>
</file>
<git_branch_name>feature/diff-task</git_branch_name>
<git_commit_message>Implement diff-based task</git_commit_message>
<summary>Updated file using diff</summary>
<potential_issues>None</potential_issues>
",
undefined,
- true,
+ false,
]
Number of calls: 1
❯ tests/unit/task-workflow.test.ts:443:36
|
test (lts/*, windows-latest)
Process completed with exit code 1.
|