summaryrefslogtreecommitdiff
path: root/internal/logging
diff options
context:
space:
mode:
Diffstat (limited to 'internal/logging')
-rw-r--r--internal/logging/chatlogger.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/internal/logging/chatlogger.go b/internal/logging/chatlogger.go
index b6b84a3..2f2fc99 100644
--- a/internal/logging/chatlogger.go
+++ b/internal/logging/chatlogger.go
@@ -6,12 +6,12 @@ type ChatLogger struct {
}
// NewChatLogger creates a new ChatLogger for a given provider.
-func NewChatLogger(provider string) *ChatLogger {
- return &ChatLogger{Provider: provider}
+func NewChatLogger(provider string) ChatLogger {
+ return ChatLogger{Provider: provider}
}
// LogStart logs the beginning of a chat or stream interaction.
-func (cl *ChatLogger) LogStart(stream bool, model string, temp float64, maxTokens int, stop []string, messages []struct {
+func (cl ChatLogger) LogStart(stream bool, model string, temp float64, maxTokens int, stop []string, messages []struct {
Role string
Content string
}) {