MCPcopy Create free account
hub / github.com/bricks-cloud/BricksLLM / GetThreadStatus

Method GetThreadStatus

internal/storage/redis/thread-cache.go:46–53  ·  view source on GitHub ↗
(key string)

Source from the content-addressed store, hash-verified

44}
45
46func (ac *ThreadCache) GetThreadStatus(key string) bool {
47 ctx, cancel := context.WithTimeout(context.Background(), ac.rt)
48 defer cancel()
49
50 result := ac.client.Get(ctx, key)
51
52 return result.Err() != redis.Nil
53}

Callers

nothing calls this directly

Calls 1

GetMethod · 0.65

Tested by

no test coverage detected