MCPcopy Create free account
hub / github.com/PaperDebugger/paperdebugger / SetConversationID

Function SetConversationID

internal/libs/contextutil/contextutil.go:59–61  ·  view source on GitHub ↗
(ctx context.Context, conversationID string)

Source from the content-addressed store, hash-verified

57}
58
59func SetConversationID(ctx context.Context, conversationID string) context.Context {
60 return Set(ctx, conversationIDKey, conversationID)
61}
62
63func GetConversationID(ctx context.Context) (string, error) {
64 v, ok := Get[string](ctx, conversationIDKey)

Callers 2

prepareMethod · 0.92
prepareMethod · 0.92

Calls 1

SetFunction · 0.85

Tested by

no test coverage detected