(mgr *Manager, config EngineConfig, s store.Store)
| 47 | } |
| 48 | |
| 49 | func NewEngineWithStore(mgr *Manager, config EngineConfig, s store.Store) *Engine { |
| 50 | return &Engine{ |
| 51 | mgr: mgr, |
| 52 | tracer: NewTracer(), |
| 53 | ranker: NewToolRankerWithStore(s), |
| 54 | config: config, |
| 55 | } |
| 56 | } |
| 57 | |
| 58 | func (e *Engine) RankTools(query string) []RankedTool { |
| 59 | return e.ranker.Rank(query, e.mgr) |
nothing calls this directly
no test coverage detected