Spaces:
Paused
Paused
File size: 438 Bytes
4e7644b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | import type { AgentBackend } from "../api/types/agents";
import type { HarnessCapabilities } from "../api/modules/harness";
export function requiresQwenPawModel(backend: AgentBackend): boolean {
return backend === "qwenpaw";
}
export function supportsAgentAttachments(
backend: AgentBackend,
capabilities?: Partial<HarnessCapabilities>,
): boolean {
return requiresQwenPawModel(backend) || Boolean(capabilities?.attachments);
}
|