Files
social-app/docs/protocols/system-agents.md
T

67 lines
990 B
Markdown
Raw Normal View History

# System Agents Protocol
> **NOTE**: This document is the single source of truth. All implementations must follow this specification.
## Overview
System agent configuration for LLM parameters.
## Version
- **Current**: `1.0`
- **Status**: Active
---
## LLM Configuration
```typescript
interface SystemAgentLLMConfig {
temperature?: number; // 0.0 - 2.0
max_tokens?: number; // >= 1
timeout_seconds?: number; // > 0, <= 300, default 30
}
```
---
## Database Field
| Field | Type | Description |
|-------|------|-------------|
| config | jsonb | LLM configuration including temperature, max_tokens, timeout |
---
## JSON Examples
### Default Configuration
```json
{
"temperature": 0.7,
"max_tokens": null,
"timeout_seconds": 30
}
```
### Creative Configuration
```json
{
"temperature": 1.2,
"max_tokens": 2000,
"timeout_seconds": 60
}
```
### Precise Configuration
```json
{
"temperature": 0.1,
"max_tokens": 500,
"timeout_seconds": 30
}
```