MCPcopy Create free account
hub / github.com/modelscope/ms-agent / _incremental_check

Method _incremental_check

projects/code_genesis/workflow/coding.py:245–257  ·  view source on GitHub ↗
(self, code_file: str, partial_code: str)

Source from the content-addressed store, hash-verified

243 self.stop_nothing()
244
245 async def _incremental_check(self, code_file: str, partial_code: str):
246 if self.lsp_check:
247 lsp_result = await self._incremental_lsp_check(
248 code_file, partial_code)
249 else:
250 lsp_result = None
251
252 if self.post_import_check:
253 import_result = await self._after_import_check(
254 code_file, partial_code)
255 else:
256 import_result = None
257 return (lsp_result or '') + '\n' + (import_result or '')
258
259 @staticmethod
260 def find_index_file(full_path):

Callers 1

after_tool_callMethod · 0.95

Calls 2

_after_import_checkMethod · 0.95

Tested by

no test coverage detected