Merge pull request #2481 from cytown/channel

refactor(config):  make config.Channel to multiple instance support
This commit is contained in:
daming大铭
2026-04-13 23:41:32 +08:00
committed by GitHub
185 changed files with 6390 additions and 4181 deletions
+6
View File
@@ -187,6 +187,12 @@ func (c *BaseChannel) Name() string {
return c.name
}
// SetName updates the channel name. Used by the manager after channel creation
// to ensure the name matches the config key (which may differ from the type).
func (c *BaseChannel) SetName(name string) {
c.name = name
}
func (c *BaseChannel) ReasoningChannelID() string {
return c.reasoningChannelID
}