mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-03 21:09:11 +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);
 |