mirror of
https://github.com/Zippland/Snap-Solver.git
synced 2026-02-23 08:29:25 +08:00
实现提示词管理功能,包括加载、保存、删除提示词的API接口和前端交互;更新样式以支持提示词管理界面,优化用户体验。
This commit is contained in:
@@ -36,10 +36,9 @@ class BaseModel(ABC):
|
||||
"""
|
||||
pass
|
||||
|
||||
@abstractmethod
|
||||
def get_default_system_prompt(self) -> str:
|
||||
"""Return the default system prompt for this model"""
|
||||
pass
|
||||
"""返回默认的系统提示词,子类可覆盖但不再是必须实现的方法"""
|
||||
return "您是一位专业的问题解决专家。请逐步分析问题,找出问题所在,并提供详细的解决方案。始终使用用户偏好的语言回答。"
|
||||
|
||||
@abstractmethod
|
||||
def get_model_identifier(self) -> str:
|
||||
|
||||
Reference in New Issue
Block a user