Single LLM call with system prompt, no tools.
(self, user_message: str)
| 164 | return "\n".join(lines) |
| 165 | |
| 166 | def _call_llm(self, user_message: str) -> str: |
| 167 | """Single LLM call with system prompt, no tools.""" |
| 168 | messages = [ |
| 169 | {"role": "system", "content": self._system_prompt}, |
| 170 | {"role": "user", "content": user_message}, |
| 171 | ] |
| 172 | response = self.llm_client.completion( |
| 173 | model=self.model, |
| 174 | messages=messages, |
| 175 | tools=None, |
| 176 | temperature=self.temperature, |
| 177 | ) |
| 178 | return response.choices[0].message.content or "" |
| 179 | |
| 180 | @staticmethod |
| 181 | def _extract_yaml(raw: str) -> str: |