kodeagent.kutils.read_prompt#
- kodeagent.kutils.read_prompt(filename: str) str[source]#
Reads a prompt from the prompts directory.
- Parameters:
filename – Name of the prompt file to read.
- Returns:
The content of the prompt file as a string.
- Raises:
FileNotFoundError – If the prompt file does not exist.
RuntimeError – If there is an error reading the file.