Локальные ИИ и DeepSeek Harness errors
Всем привет! Это моя первая публикация на хабре. Прошу поддержать. В общем я увлекаюсь локальными моделями, а железо у меня не сильно мощное. Процессор: 13th Gen Intel® Core™ i5-13400F (2.50 GHz) ОЗУ: DDR5 6400 Mhz 2*16ГБ Видеокарта: NVIDIA GeForce КЕЧ 4060 Ti Eagle 8 Гб Начал тестировать модели локально. испробовал кучу harness'jd и cli, из того что помню Continue, Cline, OpenCode, OpenCode CLI, Open Interpreter, Cherry Studio ну и DeepSeek Harness. Последний мне понравился больше всех. Хоть и есть парочку недочетов. В общем стал я тестировать с моделями и довольно часто начали выскакивать ошибки: edit Error: old_string was not found in ".\PLAN.md" edit Error: invalid escalation: justification is only valid together with sandbox_permissions edit Error: cannot edit ".\core_logic.py": file changed since it was read — re-read the file, then retry edit Error: invalid arguments: old_string and new_string must differ edit Error: cannot modify ".\test.txt": file has not been read — read the file, then retry write Error: cannot write ".\shelf_ledger\db.py": file no longer exists — re-read the file, then retry pwsh Error: invalid arguments: missing required property "description" В итоге я собрал при помощи того же DeepSeek Harness плагин для фикса этих ошибок. Их реально стало меньше. Что делает плагин: Переписывает описания edit, write и pwsh для локальных моделей, исправляет съехавшие аргументы (номера строк в old_string, отсутствующий description у pwsh, одиночный justification, кодировку вывода Python) и показывает точные различия со строками файла. Исполнение, sandbox и approval не меняются. Основная масса ошибок связана с тем что модели слабоваты, но иногда они проскакивают даже у DeepSeek v4 Flash. Ссылка на плагин тут: biomotor/dsh-tool-fix: Rewrites the edit, write and pwsh descriptions for local models, repairs drifted arguments (old_string line numbers, missing pwsh description, lone justification, Python output encoding) and shows the exact differing file lines. Execution, sandbox and approval are unchanged. Буду раз любым отзывам и советам! Спасибо! Читать далее
