Skip to main content

Module ai_task_type

Module ai_task_type 

Source
Expand description

Static route-alias → AI task type table.

Mirrors PricingTable: a flat TOML root map, loaded once at startup. The file is keyed by task type so a taxonomy reads as one line per type:

conversation = ["conversation", "planning", "nl-plan"]
extraction   = ["extract", "doc-extract"]

It is inverted to an alias → task lookup at load, so resolution is O(1) on the hot path.

Structs§

AiTaskTypeTable

Constants§

DEFAULT_AI_TASK_TYPE
Recorded when neither a caller header nor the table supplies a task type.