66c3dae06b
- Added `count` attribute to `homeAuthCount` requests to improve home message batching. - Enabled usage statistics for home mode by default and added config-level enforcement. - Adjusted failure logging to include detailed metadata in `UsageReporter`. - Updated multiple executors to pass error details to `PublishFailure` for better debugging. - Enhanced unit tests to validate `count` behavior and usage statistics enforcement across components.
15 lines
398 B
Go
15 lines
398 B
Go
package home
|
|
|
|
type authDispatchRequest struct {
|
|
Type string `json:"type"`
|
|
Model string `json:"model"`
|
|
Count int `json:"count"`
|
|
SessionID string `json:"session_id,omitempty"`
|
|
Headers map[string]string `json:"headers,omitempty"`
|
|
}
|
|
|
|
type refreshRequest struct {
|
|
Type string `json:"type"`
|
|
AuthIndex string `json:"auth_index"`
|
|
}
|