mirror of
				https://github.com/Z3Prover/z3
				synced 2025-10-31 11:42:28 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			11 lines
		
	
	
	
		
			339 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
	
		
			339 B
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| script({
 | |
|     title: "Invoke LLM code optimization",
 | |
|     files: "code_slices/muz/spacer/orig_spacer_antiunify.cpp_anti_unifier.cpp"
 | |
| })
 | |
| 
 | |
| import { invokeLLMOpt } from "./myai.genai.mts";
 | |
| 
 | |
| let file = env.files[0];
 | |
| let answer = await invokeLLMOpt(file);
 | |
| const outputFile = file.filename + ".opt";
 | |
| await workspace.writeText(outputFile, answer);
 |