( ctx context.Context, t *testing.T, store database.Store, )
| 89 | } |
| 90 | |
| 91 | func newAdvisorTestServer( |
| 92 | ctx context.Context, |
| 93 | t *testing.T, |
| 94 | store database.Store, |
| 95 | ) *Server { |
| 96 | t.Helper() |
| 97 | clock := quartz.NewMock(t) |
| 98 | return &Server{ |
| 99 | db: store, |
| 100 | configCache: newChatConfigCache(ctx, store, clock), |
| 101 | } |
| 102 | } |
| 103 | |
| 104 | func (p *Server) resolveAdvisorModelOverrideOrFallback( |
| 105 | ctx context.Context, |
no test coverage detected