TC #84 — Phase 8 broker.token_count cache key is endpoint-only (R6) #84
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Scenario
Two model configs with same endpoint but different model names; both call broker.token_count.
Expected
Only ONE /tokenize probe fires (the second call hits the cached endpoint entry).
broker.tokenize_supported(cfg1) == broker.tokenize_supported(cfg2). Validates R6 simplification — B1 says model field is ignored on the wire, so endpoint-only keying is correct.Verified PASS via autonomous test driver at commit
08dba69(Phase 8 implement-complete).Two model_cfgs with same endpoint, different model names. After ONE probe via cfg1, broker.tokenize_supported(cfg2) also returns true (cached entry shared). Endpoint-only cache key per R6; B1 confirms /tokenize ignores the model field on this broker.
Closed by Phase 8 verify.