设置会话线程ID(保留兼容性) Args: thread_id: 线程ID
(self, thread_id: str)
| 169 | ) |
| 170 | |
| 171 | def set_thread_id(self, thread_id: str): |
| 172 | """设置会话线程ID(保留兼容性) |
| 173 | |
| 174 | Args: |
| 175 | thread_id: 线程ID |
| 176 | """ |
| 177 | # 已废弃,现在使用 user_id + session_id 自动生成 |
| 178 | console.print("[yellow]提示:thread_id现在由user_id和session_id自动生成[/yellow]") |
| 179 | |
| 180 | def new_session(self): |
| 181 | """开始新会话(保留当前用户)""" |
nothing calls this directly
no outgoing calls
no test coverage detected