添加操作系统信息
(self, os_name: str, os_version: str)
| 310 | self._extra_sections: list[str] = [] |
| 311 | |
| 312 | def with_os(self, os_name: str, os_version: str) -> "SystemPromptBuilder": |
| 313 | """添加操作系统信息""" |
| 314 | self._os_name = os_name |
| 315 | self._os_version = os_version |
| 316 | return self |
| 317 | |
| 318 | def with_project_context(self, ctx: ProjectContext) -> "SystemPromptBuilder": |
| 319 | """添加项目上下文""" |