MCPcopy
hub / github.com/karpathy/llm-council / update_conversation_title

Function update_conversation_title

backend/storage.py:159–172  ·  view source on GitHub ↗

Update the title of a conversation. Args: conversation_id: Conversation identifier title: New title for the conversation

(conversation_id: str, title: str)

Source from the content-addressed store, hash-verified

157
158
159def 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)

Callers

nothing calls this directly

Calls 2

save_conversationFunction · 0.85
get_conversationFunction · 0.70

Tested by

no test coverage detected