8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
# File 'app/services/solid_agents/runs/prompt_builder.rb', line 8
def self.call(run:, context:)
" Stage owner: \#{run.stage_owner}\n Stage: \#{run.stage}\n Run id: \#{run.id}\n\n Constraints:\n - Repository path: \#{run.repo_path}\n - Base branch: \#{run.base_branch}\n - Test command: \#{run.test_command}\n - Runtime: \#{run.runtime}\n - Max iterations: \#{run.max_iterations || SolidAgents.max_iterations}\n\n Context JSON:\n \#{JSON.pretty_generate(context)}\n PROMPT\nend\n"
|