#Set model based on telegram group

1 messages ยท Page 1 of 1 (latest)

opaque flume
#

Is there a way to set the model that is used for a specific telegram group?

prisma onyxBOT
still cryptBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> โœ… Mark Solution

prisma onyxBOT
surreal gardenBOT
#

Yes.

For a persistent per-Telegram-group default, use channels.modelByChannel:

{
  channels: {
    modelByChannel: {
      telegram: {
        "-1001234567890": "anthropic/claude-opus-4-6",
        "-1001234567890:topic:99": "openai/gpt-4.1-mini", // optional per-topic override
      },
    },
  },
}