MCPcopy Index your code
hub / github.com/coder/coder / PublishTitleChange

Method PublishTitleChange

coderd/x/chatd/chatd.go:3106–3108  ·  view source on GitHub ↗

PublishTitleChange broadcasts a title_change event for the given chat.

(chat database.Chat)

Source from the content-addressed store, hash-verified

3104
3105// PublishTitleChange broadcasts a title_change event for the given chat.
3106func (p *Server) PublishTitleChange(chat database.Chat) {
3107 p.publishChatPubsubEvent(chat, codersdk.ChatWatchEventKindTitleChange, nil)
3108}
3109
3110// ProposeChatTitle generates a title suggestion from the chat's visible messages without persisting it.
3111func (p *Server) ProposeChatTitle(

Callers 1

applyChatTitleUpdateMethod · 0.80

Calls 1

Tested by

no test coverage detected