Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only add docs for non-simple epics. #1014

Merged
merged 1 commit into from
Jun 12, 2024
Merged

Only add docs for non-simple epics. #1014

merged 1 commit into from
Jun 12, 2024

Conversation

gperetin
Copy link
Contributor

Also, tell the LLM to limit the number of candidate docsets it suggests.

@gperetin gperetin requested a review from LeonOstrez June 12, 2024 13:43
@@ -198,7 +199,7 @@ def create_agent(self, prev_response: Optional[AgentResponse]) -> BaseAgent:
# Ask the Tech Lead to break down the initial project or feature into tasks and apply project template
return TechLead(self.state_manager, self.ui, process_manager=self.process_manager)

if state.current_task and state.docs is None:
if state.current_task and state.docs is None and state.specification.complexity != Complexity.SIMPLE:
Copy link
Member

Choose a reason for hiding this comment

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

this means we will not update state.docs so it will stay None which is different from [] which we have currently. Is that ok?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yep, that's fine, we handle that case.

@gperetin gperetin merged commit 9fd8ddd into main Jun 12, 2024
6 checks passed
@gperetin gperetin deleted the limit-docsets branch June 12, 2024 15:22
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