feat: temporaryly remove some requirements to avoid failing always

This commit is contained in:
2025-05-06 22:05:33 -03:00
parent 706e4271fa
commit bec7eb294c
4 changed files with 10 additions and 8 deletions

View File

@ -15,6 +15,6 @@ base58>=2.1.0
tenacity>=9.0.0 tenacity>=9.0.0
sqlmodel>=0.0.22 sqlmodel>=0.0.22
openai>=0.28.0 openai>=0.28.0
colorama>=0.4.67 colorama>=0.4.6
prometheus-swarm>=0.1.7 prometheus-swarm>=0.2.2
prometheus-test>=0.1.7 prometheus-test>=0.1.7

View File

@ -4,7 +4,7 @@ PROMPTS = {
"system_prompt": ( "system_prompt": (
"You are an expert software architect and technical lead specializing in summarizing " "You are an expert software architect and technical lead specializing in summarizing "
"repositories into comprehensive documentation. You excel at analyzing codebases " "repositories into comprehensive documentation. You excel at analyzing codebases "
"and creating clear, structured documentation." "and creating clear, structured documentation. Do NOT OVERLY READ THE REPO."
), ),
"create_branch": ( "create_branch": (
"You need to create a feature branch for the README generation.\n" "You need to create a feature branch for the README generation.\n"
@ -41,11 +41,13 @@ PROMPTS = {
), ),
"generate_readme_section": ( "generate_readme_section": (
"You are writing the {section_name} section of a README file for a repository.\n" "You are writing the {section_name} section of a README file for a repository.\n"
"If you don't want to write a section, return an empty string.\n"
"The repository has been cloned to the current directory and the files are available for inspection.\n" "The repository has been cloned to the current directory and the files are available for inspection.\n"
"The readme will contain the following sections:\n" "The readme will contain the following sections:\n"
"{all_sections}\n" "{all_sections}\n"
"Restrict your documentation to the section you are writing.\n" "Restrict your documentation to the section you are writing.\n"
"Read all files relevant to your task and generate comprehensive, clear documentation.\n" "IMPORTANT: Read the existing readme.md file ONCE to understand the project, then proceed with writing your section.\n"
"DO NOT read the same file multiple times. If you have read readme.md once, you have enough information.\n"
"The section should include the following information:\n" "The section should include the following information:\n"
"{section_description}\n" "{section_description}\n"
"Write the section in markdown format.\n" "Write the section in markdown format.\n"
@ -86,7 +88,7 @@ PROMPTS = {
"3. Is it comprehensive enough to help users understand and use the repository?\n" "3. Is it comprehensive enough to help users understand and use the repository?\n"
"4. Does it follow best practices for README documentation?\n\n" "4. Does it follow best practices for README documentation?\n\n"
"Use the `review_readme_file` tool to submit your findings.\n" "Use the `review_readme_file` tool to submit your findings.\n"
"IMPORTANT: Do not assume that an existing README is correct. " # "IMPORTANT: Do not assume that an existing README is correct. "
"Evaluate README_Prometheus.md against the codebase.\n" "Evaluate README_Prometheus.md against the codebase.\n"
"DO NOT consider the filename in your analysis, only the content.\n" "DO NOT consider the filename in your analysis, only the content.\n"
"STOP after submitting the review report." "STOP after submitting the review report."

View File

@ -282,8 +282,8 @@ class RepoSummarizerWorkflow(Workflow):
readme_sections_spec = ( readme_sections_spec = (
list(INITIAL_SECTIONS) list(INITIAL_SECTIONS)
+ list(DOCS_SECTIONS[repo_type]) # + list(DOCS_SECTIONS[repo_type])
+ list(FINAL_SECTIONS) # + list(FINAL_SECTIONS)
) )
self.context["repo_type"] = repo_type self.context["repo_type"] = repo_type

View File

@ -59,4 +59,4 @@ export const defaultBountyMarkdownFile =
export const customReward = 1; // This should be in ROE! export const customReward = 1; // This should be in ROE!
export const middleServerUrl = "https://builder247-test.dev.koii.network"; export const middleServerUrl = "https://builder247-test.dev1.koii.network";