You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat: Add system prompt configuration support (#26)
This PR implements system prompt configuration for the Inference Gateway
CLI as requested in issue #25.
## Changes
- Add `system_prompt` field to ChatConfig in config structure
- Implement `infer config set-system` command for setting system prompts
- Update chat service to include system prompt in API messages
- Modify service container to pass system prompt to chat service
- Update documentation with new command and configuration examples
## Usage
```bash
# Set a system prompt
infer config set-system "You are a helpful assistant."
# The system prompt is now included with every chat session
infer chat
```
The system prompt is configurable via command or by modifying the config
directly and is included in SDK messages as a system prompt.
Resolves#25
Generated with [Claude Code](https://claude.ai/code)
---------
Signed-off-by: Eden Reich <[email protected]>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
Co-authored-by: Eden Reich <[email protected]>
0 commit comments