Merge pull request #2481 from cytown/channel

refactor(config):  make config.Channel to multiple instance support
This commit is contained in:
daming大铭 authored and GitHub committed 2026-04-13 23:41:32 +08:00
commit cbd38dfd28
185 files changed
+6389 -4180

No files matched your search

+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
}