Constructor ChatBudgetRequest
ChatBudgetRequest(string, ChatModelShape, int, EdgeResourceSnapshot, EdgeChatDeviceProfile)
One question for the memory gate.
public ChatBudgetRequest(string PresetId, ChatModelShape Shape, int RequestedContextTokens, EdgeResourceSnapshot Resources, EdgeChatDeviceProfile Device)
Parameters
PresetIdstringThe preset being loaded.
ShapeChatModelShapeIts declared geometry.
RequestedContextTokensintmin(options.MaxContextTokens ?? preset.DefaultMaxContextTokens, shape.ContextLength, configDeclaredContextLength)- spec section 9.1 step 4 does the clamping, which is what keepsQwen3_600MInt4's declared 40960 from ever reaching a generator.ResourcesEdgeResourceSnapshotOne
IEdgeResourceMonitor.Read().DeviceEdgeChatDeviceProfileThe cached device profile.