MCPcopy Create free account
hub / github.com/InferCore/InferCore / NewSimpleEngine

Function NewSimpleEngine

internal/cost/simple_engine.go:9–11  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

7type SimpleEngine struct{}
8
9func NewSimpleEngine() *SimpleEngine {
10 return &SimpleEngine{}
11}
12
13func (e *SimpleEngine) Estimate(req types.AIRequest, backend types.BackendMetadata) types.CostEstimate {
14 maxTokens := req.Options.MaxTokens

Calls

no outgoing calls