feat: 单例group

This commit is contained in:
tbphp
2025-07-06 01:38:30 +08:00
parent ed921352e5
commit e6fe973ea4
5 changed files with 75 additions and 16 deletions

View File

@@ -18,4 +18,7 @@ type ChannelProxy interface {
// IsStreamingRequest checks if the request is for a streaming response.
IsStreamingRequest(c *gin.Context) bool
// IsConfigStale checks if the channel's configuration is stale compared to the provided group.
IsConfigStale(group *models.Group) bool
}