feat: gitea client

This commit is contained in:
2026-02-12 20:58:55 +01:00
parent 8583ab48ce
commit 378d008a91
9 changed files with 225 additions and 32 deletions

View File

@@ -1,5 +1,9 @@
package chatter
import (
"context"
)
// Role defines who sent the message
type Role string
@@ -15,6 +19,10 @@ type Message struct {
Content string
}
type ChatAdapter interface {
GenerateStructured(ctx context.Context, messages []Message, target interface{}) error
}
// PredictionConfig allows for per-request overrides
type PredictionConfig struct {
Temperature float64