llm: support system_prompt in complete() #87

Closed
opened 2026-07-05 14:07:24 +00:00 by the.auditor · 0 comments
Owner

LLMClient.complete() accepts a prompt (user message) but JobConfig has a system_prompt field that isn't sent to the API. When the engine wires up execution, system prompts need to be handled.

Options:

  • Add an optional system_prompt param to complete()
  • Have the engine prepend system instructions to the user prompt
  • Add support for system messages in the messages array

From PR #84 review suggestion.

`LLMClient.complete()` accepts a `prompt` (user message) but `JobConfig` has a `system_prompt` field that isn't sent to the API. When the engine wires up execution, system prompts need to be handled. Options: - Add an optional `system_prompt` param to `complete()` - Have the engine prepend system instructions to the user prompt - Add support for system messages in the messages array _From PR #84 review suggestion._
fuzzy closed this issue 2026-07-05 16:38:42 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai#87
No description provided.