MCPcopy Create free account
hub / github.com/OpenRaiser/NanoResearch / _code_preview

Function _code_preview

nanoresearch/cli_code_edit.py:185–189  ·  view source on GitHub ↗
(
    editor: "InteractiveCodeEditor",  # noqa: F821
    instruction: str,
)

Source from the content-addressed store, hash-verified

183
184
185async def _code_preview(
186 editor: "InteractiveCodeEditor", # noqa: F821
187 instruction: str,
188) -> dict:
189 return await editor.preview_instruction(instruction)
190
191
192def _print_edit_result(result: dict) -> None:

Callers 1

code_editFunction · 0.85

Calls 1

preview_instructionMethod · 0.80

Tested by

no test coverage detected