Uses of Class
com.flowable.agent.engine.pricing.AgentModelPrice
Packages that use AgentModelPrice
Package
Description
-
Uses of AgentModelPrice in com.flowable.agent.engine.pricing
Methods in com.flowable.agent.engine.pricing that return AgentModelPriceModifier and TypeMethodDescriptionprotected AgentModelPriceAgentModelPricingService.save(String tenantId, AgentModelPrice price) Methods in com.flowable.agent.engine.pricing that return types with arguments of type AgentModelPriceModifier and TypeMethodDescriptionprotected List<AgentModelPrice> AgentModelPricingService.fetchStored(String tenantId) The price entries actually stored for the given tenant (no default-tenant fallback).AgentModelPricingService.getPricesForTenant(String tenantId, boolean merge) Returns the agent model prices for the given tenant.protected static List<AgentModelPrice> AgentModelPricingService.mergeEffective(List<AgentModelPrice> defaults, List<AgentModelPrice> tenant) Merges default-tenant prices with the tenant's own, keyed by model prefix (tenant overrides/adds).Methods in com.flowable.agent.engine.pricing with parameters of type AgentModelPriceModifier and TypeMethodDescriptionAgentModelPricingService.save(String tenantId, AgentModelPrice price) protected StringAgentModelPricingService.toJson(AgentModelPrice price) Serializes the price fields (the model prefix is the configuration property name, not part of the value).Method parameters in com.flowable.agent.engine.pricing with type arguments of type AgentModelPriceModifier and TypeMethodDescriptionprotected static List<AgentModelPrice> AgentModelPricingService.mergeEffective(List<AgentModelPrice> defaults, List<AgentModelPrice> tenant) Merges default-tenant prices with the tenant's own, keyed by model prefix (tenant overrides/adds). -
Uses of AgentModelPrice in com.flowable.platform.service.dashboard.resultmapper.extractor
Methods in com.flowable.platform.service.dashboard.resultmapper.extractor that return AgentModelPriceModifier and TypeMethodDescriptionprotected static AgentModelPriceAgentCostByDateQueryResultMapper.matchPrice(String model, List<AgentModelPrice> prices) Returns the price whosemodelPrefixis the longest prefix of the given model name, ornullwhen no configured prefix matches.protected static AgentModelPriceAgentCostByModelQueryResultMapper.matchPrice(String model, List<AgentModelPrice> prices) Returns the price whosemodelPrefixis the longest prefix of the given model name, ornullwhen no configured prefix matches.protected static AgentModelPriceAgentCostTotalQueryResultMapper.matchPrice(String model, List<AgentModelPrice> prices) Returns the price whosemodelPrefixis the longest prefix of the given model name, ornullwhen no configured prefix matches.Methods in com.flowable.platform.service.dashboard.resultmapper.extractor with parameters of type AgentModelPriceModifier and TypeMethodDescriptionprotected static BigDecimalAgentCostByDateQueryResultMapper.computeCost(double inputTokens, double outputTokens, double cachedTokens, AgentModelPrice price) Computes the cost for a single model.protected static doubleAgentCostByModelQueryResultMapper.computeCost(double inputTokens, double outputTokens, double cachedTokens, AgentModelPrice price) Computes the cost for a single model.protected static BigDecimalAgentCostTotalQueryResultMapper.computeCost(double inputTokens, double outputTokens, double cachedTokens, AgentModelPrice price) Computes the cost for a single model.Method parameters in com.flowable.platform.service.dashboard.resultmapper.extractor with type arguments of type AgentModelPriceModifier and TypeMethodDescriptionprotected static AgentModelPriceAgentCostByDateQueryResultMapper.matchPrice(String model, List<AgentModelPrice> prices) Returns the price whosemodelPrefixis the longest prefix of the given model name, ornullwhen no configured prefix matches.protected static AgentModelPriceAgentCostByModelQueryResultMapper.matchPrice(String model, List<AgentModelPrice> prices) Returns the price whosemodelPrefixis the longest prefix of the given model name, ornullwhen no configured prefix matches.protected static AgentModelPriceAgentCostTotalQueryResultMapper.matchPrice(String model, List<AgentModelPrice> prices) Returns the price whosemodelPrefixis the longest prefix of the given model name, ornullwhen no configured prefix matches.