Skip to content

Add JetBrainsDebugTool#1403

Merged
opcode81 merged 5 commits intomainfrom
jetbrains-debugger
Apr 24, 2026
Merged

Add JetBrainsDebugTool#1403
opcode81 merged 5 commits intomainfrom
jetbrains-debugger

Conversation

@opcode81
Copy link
Copy Markdown
Contributor

No description provided.

@opcode81 opcode81 force-pushed the jetbrains-debugger branch 2 times, most recently from 34279b1 to 595bf0e Compare April 23, 2026 19:29
expression: str,
repl_key: str = "default",
) -> str:
"""
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We have to check that this works with Codex. It certainly won't work with chatgpt, but that's ok.

Another approach to the long tool description is to instead add a tool "get_instructions_on_debugging" with the description "If you were asked to debug, call this first before using the debugging tool".

In scenarios with non-deferred tool loading, the long description here unnecessarily bloats the context

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now resolved by adding info tool with 1fd0fe2

@opcode81 opcode81 force-pushed the jetbrains-debugger branch from 595bf0e to 3b71b3f Compare April 24, 2026 11:27
Apply it to provide JetBrains debug REPL information lazily
@opcode81 opcode81 force-pushed the jetbrains-debugger branch from 072b250 to 1fd0fe2 Compare April 24, 2026 11:51
Comment thread src/serena/tools/workflow_tools.py Dismissed
@opcode81 opcode81 merged commit 7a8b5fb into main Apr 24, 2026
10 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants