mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	use original gai
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
		
							parent
							
								
									d702e68fb9
								
							
						
					
					
						commit
						6559584502
					
				
					 1 changed files with 4 additions and 12 deletions
				
			
		|  | @ -1,24 +1,16 @@ | ||||||
| script({ | script({ | ||||||
|     tools: ["agent_fs", "agent_git", "agent_github"], |     tools: ["agent_fs", "agent_git", "agent_github"], | ||||||
|     parameters: { |  | ||||||
|         workflow: { type: "string" }, // Workflow name
 |  | ||||||
|         failure_run_id: { type: "number" }, // ID of the failed run
 |  | ||||||
|         branch: { type: "string" }, // Branch name
 |  | ||||||
|     }, |  | ||||||
|     model: "azure:gpt-4o", |  | ||||||
|     maxTokens: 2000 |  | ||||||
| }) | }) | ||||||
| 
 | 
 | ||||||
| const { | const { | ||||||
|     workflow = "cross-build.yml", |     workflow = "latest failed", | ||||||
|     failure_run_id = "11299772255", |     failure_run_id = "latest", | ||||||
|     branch = await git.branch(), |     branch = await git.defaultBranch(), | ||||||
| } = env.vars | } = env.vars | ||||||
| 
 | 
 | ||||||
| $`Investigate the status of the ${workflow} workflow and identify the root cause of the failure of run ${failure_run_id} in branch ${branch}.
 | $`Investigate the status of the ${workflow} workflow and identify the root cause of the failure of run ${failure_run_id} in branch ${branch}.
 | ||||||
| 
 | 
 | ||||||
| - Correlate the failure with the latest commit. | - Correlate the failure with the relevant commits, pull requests or issues. | ||||||
| - Do only consider the branch ${branch} in the analysis. |  | ||||||
| - Compare the source code between the failed run commit and the last successful run commit before that run. | - Compare the source code between the failed run commit and the last successful run commit before that run. | ||||||
| 
 | 
 | ||||||
| In your report, include html links to the relevant runs, commits, pull requests or issues. | In your report, include html links to the relevant runs, commits, pull requests or issues. | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue