Update the title of a conversation. Args: conversation_id: Conversation identifier title: New title for the conversation
(conversation_id: str, title: str)
| 157 | |
| 158 | |
| 159 | def update_conversation_title(conversation_id: str, title: str): |
| 160 | """ |
| 161 | Update the title of a conversation. |
| 162 | |
| 163 | Args: |
| 164 | conversation_id: Conversation identifier |
| 165 | title: New title for the conversation |
| 166 | """ |
| 167 | conversation = get_conversation(conversation_id) |
| 168 | if conversation is None: |
| 169 | raise ValueError(f"Conversation {conversation_id} not found") |
| 170 | |
| 171 | conversation["title"] = title |
| 172 | save_conversation(conversation) |
nothing calls this directly
no test coverage detected