f7a720204a
- 移除 GovAI, nomifun-tauri, 算力盒子 的 submodule 引用 - 添加所有子项目的完整源代码 - 保留原始 .git 为 .git.bak 备份
20 lines
556 B
TypeScript
20 lines
556 B
TypeScript
/**
|
|
* @license
|
|
* Copyright 2025-2026 NomiFun (nomifun.com)
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
* Based on AionUi (https://github.com/iOfficeAI/AionUi)
|
|
*/
|
|
|
|
import type { TChatConversation } from '@/common/config/storage';
|
|
|
|
type SideQuestionConversationType = TChatConversation['type'];
|
|
|
|
export type SideQuestionEligibilityTarget = {
|
|
backend?: string;
|
|
type: SideQuestionConversationType;
|
|
};
|
|
|
|
export function isSideQuestionSupported(target: SideQuestionEligibilityTarget): boolean {
|
|
return target.type === 'acp' && target.backend === 'claude';
|
|
}
|