Prompt construction#162
Merged
Merged
Conversation
- Introduced a new "Tool Use Overview" document detailing the tool system, including core concepts, available tools, calling mechanisms, and best practices. - Created individual documentation for the `use_mcp_tool`, `write_to_file`, and other tools, outlining parameters, functionality, and usage examples. - Updated links throughout the documentation to reflect the new structure under "advanced-usage/available-tools". - Enhanced the sidebar navigation to include a dedicated section for available tools. - Adjusted references in various documents to ensure consistency with the new tool documentation paths. - Improved error handling and recovery strategies in tool documentation. - Updated update notes to reflect changes in tool functionality and improvements.
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Contributor
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed everything up to 0ad00df in 2 minutes and 1 seconds. Click for details.
- Reviewed
644lines of code in31files - Skipped
0files when reviewing. - Skipped posting
13draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. docusaurus.config.ts:34
- Draft comment:
Changing onBrokenLinks from 'throw' to 'warn' may allow broken links to go unnoticed. Consider ensuring that broken link issues are caught in CI or pre-release checks. - Reason this comment was not posted:
Decided after close inspection that this draft comment was likely wrong and/or not actionable: usefulness confidence = 20% vs. threshold = 50% This is a documentation site configuration. The change makes broken links less strict by warning instead of throwing. While the comment raises a valid concern about potentially missing broken links, it's more of a suggestion/speculation rather than pointing out a clear issue. It starts with "Consider ensuring..." which falls into the category of asking for verification or making speculative suggestions. The comment does highlight a potential regression in quality control. Missing broken links could degrade documentation quality. However, the comment violates our rules by being speculative and asking for verification rather than pointing out a clear issue. The change from throw to warn was likely intentional to handle edge cases more gracefully. Delete the comment as it is speculative and asks for verification rather than pointing out a clear issue that needs to be fixed.
2. docusaurus.config.ts:161
- Draft comment:
The URL redirects for the moved tools pages are well configured. Ensure that any future moves follow this pattern for consistent navigation. - Reason this comment was not posted:
Confidence changes required:20%<= threshold50%None
3. sidebars.ts:76
- Draft comment:
The sidebar configuration for 'Available Tools' is very detailed. Make sure it remains updated with any future tool additions for consistent documentation navigation. - Reason this comment was not posted:
Confidence changes required:20%<= threshold50%None
4. docs/update-notes/v3.14.0.md:5
- Draft comment:
The release notes update documentation links to new tools paths. Verify that all links resolve correctly after moving the docs directory. - Reason this comment was not posted:
Confidence changes required:30%<= threshold50%None
5. docs/advanced-usage/available-tools/tool-use-overview.md:11
- Draft comment:
Great work updating all tool links from/features/tools/...to/advanced-usage/available-tools/.... The changes are consistent and improve modular organization of the docs. - Reason this comment was not posted:
Confidence changes required:0%<= threshold50%None
6. docusaurus.config.ts:34
- Draft comment:
Changed onBrokenLinks setting from 'throw' to 'warn'. This softens build failures for broken links. Ensure this is an intentional design decision. - Reason this comment was not posted:
Confidence changes required:0%<= threshold50%None
7. docusaurus.config.ts:161
- Draft comment:
Extensive redirect rules have been added for the moved tools docs. Verify that all old paths map correctly to the new '/advanced-usage/available-tools/…' routes. - Reason this comment was not posted:
Confidence changes required:0%<= threshold50%None
8. sidebars.ts:75
- Draft comment:
The 'Available Tools' category in the Advanced Usage sidebar now lists pages under the new path. The structure is clear and follows the new modular organization. - Reason this comment was not posted:
Confidence changes required:0%<= threshold50%None
9. various docs update files (e.g., update-notes, basic-usage, using-modes, boomerang-tasks):1
- Draft comment:
All internal documentation links referencing tool endpoints have been updated to reflect the new file structure. The consistency across docs, update notes, and mode descriptions is commendable. - Reason this comment was not posted:
Confidence changes required:0%<= threshold50%None
10. docs/advanced-usage/available-tools/write-to-file.md:51
- Draft comment:
Consider replacing 'missing/invalid' with 'missing or invalid' for improved clarity and consistency. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
11. docs/basic-usage/using-modes.md:5
- Draft comment:
It looks like there's a typographical error on line 5: "::::info Sticky Models". Typically, the syntax for an info box should use three colons (e.g., ":::info Sticky Models"). Please check if the extra colon is unintended and correct it if needed. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
12. docs/features/shell-integration.md:36
- Draft comment:
It looks like the description for 'Terminal Output Limit' is duplicated (lines 35-36), with both lines explaining what happens when the limit is exceeded. Consider removing one of these sentences to avoid redundancy and improve clarity. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
13. docs/index.md:7
- Draft comment:
In the introduction (line 7), it reads 'Roo Code (formerly Roo Cline)'. Please verify if 'Roo Cline' is the intended legacy name or if it should be corrected. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
Workflow ID: wflow_bikeDfUBAcp9IZaE
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
…; add tool messages and remove outdated features
Contributor
There was a problem hiding this comment.
Important
Looks good to me! 👍
Reviewed 93eeec7 in 1 minute and 20 seconds. Click for details.
- Reviewed
117lines of code in3files - Skipped
0files when reviewing. - Skipped posting
8draft comments. View those below. - Modify your settings and rules to customize what types of comments Ellipsis leaves. And don't forget to react with 👍 or 👎 to teach Ellipsis.
1. docs/advanced-usage/prompt-structure.md:48
- Draft comment:
Clarify why 'Token/cost information' is split into its own bullet. Ensure consistency in listing context details across sections. - Reason this comment was not posted:
Comment did not seem useful. Confidence is useful =0%<= threshold50%This comment is asking for clarification on why a specific item is split into its own bullet point. It also suggests ensuring consistency across sections. This seems to be asking for confirmation and explanation, which violates the rules.
2. docs/features/experimental/experimental-features.md:17
- Draft comment:
Removal of 'Search and Replace' and 'Insert Content' experimental features should be documented as a breaking change if external users rely on them. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
3. sidebars.ts:64
- Draft comment:
Sidebar order for 'Advanced Usage' has been restructured; double-check that reordering meets the intended navigation flow. - Reason this comment was not posted:
Comment was not on a location in the diff, so it can't be submitted as a review comment.
4. docs/advanced-usage/prompt-structure.md:7
- Draft comment:
The addition of the 'Tool Messages' role clarifies the API-level message types. Please ensure all related documentation and API references are updated to reflect this new role. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
5. docs/advanced-usage/prompt-structure.md:64
- Draft comment:
The note clarifying that tool results are sent in separate tool messages (and not within assistant messages) is helpful. Verify that this separation is consistently described in other documentation sections. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
6. docs/features/experimental/experimental-features.md:18
- Draft comment:
The removal of the 'Search and Replace' and 'Insert Content' sections suggests these experimental features have been deprecated. Please confirm that the underlying functionality has been removed or updated accordingly to avoid any documentation mismatch. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
7. sidebars.ts:39
- Draft comment:
The reordering of 'features/suggested-responses' relative to 'features/shell-integration' appears intentional. Please double-check that this new order aligns with the overall documentation structure. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
8. sidebars.ts:67
- Draft comment:
The Advanced Usage category has been reorganized by moving prompt-related docs to follow the 'Available Tools' group. Ensure that all links (like 'prompt-engineering', 'prompt-structure', etc.) remain valid and that the grouping enhances navigability. - Reason this comment was not posted:
Confidence changes required:33%<= threshold50%None
Workflow ID: wflow_3AZIGUVQlTaFOcgG
You can customize by changing your verbosity settings, reacting with 👍 or 👎, replying to comments, or adding code review rules.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Important
Reorganized tool documentation from
featurestoadvanced-usage, updated links, added prompt structure doc, and adjusted configuration files.features/toolstoadvanced-usage/available-tools.how-tools-work.md,using-modes.md,boomerang-tasks.mdx.prompt-structure.mdtoadvanced-usage.docusaurus.config.tsandsidebars.tsfor new paths and redirects.experimental-features.md.This description was created by
for 93eeec7. You can customize this summary. It will automatically update as commits are pushed.