mirror of
https://github.com/langbot-app/LangBot.git
synced 2026-06-28 00:14:21 +00:00
feat: pipeline routing fix - add routed_by_rule bypass and diagnostic logging
- Skip GroupRespondRuleCheckStage when message is routed by rule - Add WARNING logs when queries are silently dropped - Add pipeline routing rules support (bot entity, migration, web UI) - Pass routed_by_rule flag through aggregator -> pool -> query variables
This commit is contained in:
@@ -140,11 +140,27 @@ export interface Bot {
|
||||
adapter_config: object;
|
||||
use_pipeline_name?: string;
|
||||
use_pipeline_uuid?: string;
|
||||
pipeline_routing_rules?: PipelineRoutingRule[];
|
||||
created_at?: string;
|
||||
updated_at?: string;
|
||||
adapter_runtime_values?: object;
|
||||
}
|
||||
|
||||
export type RoutingRuleOperator =
|
||||
| 'eq'
|
||||
| 'neq'
|
||||
| 'contains'
|
||||
| 'not_contains'
|
||||
| 'starts_with'
|
||||
| 'regex';
|
||||
|
||||
export interface PipelineRoutingRule {
|
||||
type: 'launcher_type' | 'launcher_id' | 'message_content';
|
||||
operator: RoutingRuleOperator;
|
||||
value: string;
|
||||
pipeline_uuid: string;
|
||||
}
|
||||
|
||||
export interface ApiRespKnowledgeBases {
|
||||
bases: KnowledgeBase[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user