-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Recording prompt should only care about last message, not last user message:
// We only care if the last message was issued by a user. aibridge/intercept/messages/paramswrap.go
Lines 61 to 64 in e164b50
msg := b.Messages[len(b.Messages)-1] if msg.Role != anthropic.MessageParamRoleUser { return nil, nil }
Make responses interceptor
aibridge/intercept/responses/base.go
Line 143 in e164b50
| func (i *responsesInterceptionBase) lastUserPrompt() (string, error) { |
Metadata
Metadata
Assignees
Labels
No labels