mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-10 04:52:43 +00:00
refactor!: rename chat providers to channels
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { requirePairingAdapter } from "../providers/plugins/pairing.js";
|
||||
import type { PairingProvider } from "./pairing-store.js";
|
||||
import { requirePairingAdapter } from "../channels/plugins/pairing.js";
|
||||
import type { PairingChannel } from "./pairing-store.js";
|
||||
|
||||
export function resolvePairingIdLabel(provider: PairingProvider): string {
|
||||
return requirePairingAdapter(provider).idLabel;
|
||||
export function resolvePairingIdLabel(channel: PairingChannel): string {
|
||||
return requirePairingAdapter(channel).idLabel;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user