Skip to content

Commit 316dcae

Browse files
mnriemCopilot
andauthored
fix: invoke registered command hook only once (#5219)
Remove the duplicate integration hook call before placeholder resolution. Assisted-by: GitHub Copilot (model: GPT-6.1 Sol, autonomous) Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
1 parent f8acbbd commit 316dcae

1 file changed

Lines changed: 0 additions & 5 deletions

File tree

‎src/specify_cli/agents.py‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -806,11 +806,6 @@ def register_commands(
806806
frontmatter, body, source_id=source_id
807807
)
808808

809-
if _integ is not None:
810-
frontmatter, body = _integ.process_registered_command(
811-
frontmatter, body, source_id=source_id
812-
)
813-
814809
body = self._convert_argument_placeholder(
815810
body, "$ARGUMENTS", agent_config["args"]
816811
)

0 commit comments

Comments
 (0)