Commit 33a5736
authored
[fel] normalize fel and waterflow modules (#150)
* [fel] chore: merge fel codebase
* [fel] chore: update pom configuration
* [fel] chore: adapt build directory
* [fel] feat: add context passing for agent interface
* [fel] refactor: optimize chat option validation position
* [fel] refactor: replace LLM emitter streaming with reduce
* [waterflow] fix: multiple critical issues
- Fix null session in AiDataStart delivery
- Prevent premature session cleanup during emission
- Fix single-item termination in delegate subflows
- Add complete handling for subflow emitter data
- Fix listener leaks in delegate subflow connections
- Add session completion detection mechanism
- Ensure session order inheritance in flatMap startSession
- Fix missing startSession in FlowPattern delegate flows
- Remove deprecated windows in FlatMapSourceWindow
- Prevent interference in FlowPattern subflow listeners
- Enable default conversation ordering in fel
* [waterflow] if data is null, the next session is useless.
* [waterflow] fix fake stream for FitBoundedEmitter
* [waterflow] fix the wrong usage of session for the process operator
* [waterflow] refactor: adapt emitter in SimpleFlowPattern
* [fel] fix: enforce ordering in AbstractFlowPattern sync calls
* [fel] feat: adapt delegate AiProcessFlow scenarios
* [waterflow] clean processingSessions
* [fel] support multi offer for the one conversation
* [waterflow] fix the acc group order leak
* [waterflow] ensure thread safety for emitter listeners
* [waterflow] replace direct completion check with callback-based window done handling
* [waterflow] support multi onDoneHandlers for window
* [waterflow] less lock scope for to listeners
* [fel] apply onDone to AbstractFlowPattern
* [fel] enable agent tool call
* [fel] remove nonNull
* [fel] adapter llm stream output
* [waterflow] fix: flatMap-reduce occasionally not terminating
* [waterflow] chore: remove unused consumeAction
* [fel] refactor: unify FlowPattern handling and fix listener leaks in multi-subscribed subflows
* [fel] remove logs and more
* [fel] unique h2 version
* [fel] adapter llm chat reasoning_content
* [fel] add null check for isLatest field
* [waterflow] fix: concurrent resource cleanup at termination nodes
* [waterflow] fix: memory leak in ConditionFrom
* [waterflow] remove useless dependency
* [waterflow] fix: clean flow locks
* [fel] handle toolCalls when extracting reasoningContent
* [fel] should not sync the code node tools code
* [fel] fix: adapter JacksonObjectSerializer modification
* [fel] clean code
* [waterflow] clean code
* [waterflow] clean code
* [waterflow] clean code
---------
Co-authored-by: songyongtan <[email protected]>1 parent 0433797 commit 33a5736
File tree
194 files changed
+9640
-563
lines changed- framework
- fel
- java
- fel-community
- model-openai
- src
- main/java/modelengine/fel/community/model/openai
- api
- entity
- chat
- image
- enums
- test/java/modelengine/fel/community/model/openai
- entity/image
- tokenizer-hanlp
- src
- main
- java/modelengine/fel/community/tokenizer/hanlp
- resources
- test/java/modelengine/fel/community/tokenizer/hanlp
- fel-core
- src
- main/java/modelengine/fel/core
- chat
- support
- document
- support
- postprocessor
- image
- model
- http
- template/support
- tokenizer
- tool
- support
- util
- test/java/modelengine/fel/core
- document/support
- splitter/support
- fel-flow/src
- main/java/modelengine/fel/engine
- activities
- flows
- operators
- models
- patterns
- support
- sources
- util
- test/java/modelengine/fel/engine/operators
- fel-jacoco-aggregator
- fel-pipeline-core
- src
- main/java/modelengine/fel/pipeline
- huggingface
- asr
- img2img
- text2img
- tts
- type
- test
- java/modelengine/fel/pipeline/huggingface
- resources
- plugins
- fel-langchain-runnable
- src/main
- java/modelengine/fel/plugin/langchain
- resources
- services
- fel-langchain-service
- src/main/java/modelengine/fel/service/langchain
- fel-pipeline-service
- src/main/java/modelengine/fel/service/pipeline
- tool-service/src/main/java/modelengine/fel/tool/model/transfer
- python
- fel_core
- types
- fel_langchain
- fel_llama_index
- plugins
- fel_langchain_loader_tools
- types
- fel_langchain_network_tools
- fel_langchain_tools
- fel_llama_index_tools
- types
- fel_llama_selector_tools
- fel_llama_splitter_tools
- types
- fel_llamaindex_network_tools
- waterflow/java
- waterflow-common
- src/main/java/modelengine/fit/waterflow
- entity
- exceptions
- utils
- waterflow-core
- src
- main/java/modelengine/fit/waterflow/domain
- context
- repo
- flowcontext
- flowlock
- flowsession
- emitters
- enums
- flow
- states
- stream
- nodes
- reactive
- utils
- test/java/modelengine/fit/waterflow/domain
- waterflow-dependency
- waterflow-eco
- waterflow-bridge-fit-reactor
- src
- main/java/modelengine/fit/waterflow/bridge/fitflow
- test/java/modelengine/fit/waterflow/bridge/fitflow
- waterflow-genericable/src/main/java/modelengine/fit/waterflow
- common
- spi
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
194 files changed
+9640
-563
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
32 | 36 | | |
33 | 37 | | |
34 | 38 | | |
| |||
53 | 57 | | |
54 | 58 | | |
55 | 59 | | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
56 | 69 | | |
57 | 70 | | |
58 | 71 | | |
| |||
90 | 103 | | |
91 | 104 | | |
92 | 105 | | |
93 | | - | |
| 106 | + | |
94 | 107 | | |
95 | 108 | | |
96 | 109 | | |
| |||
Lines changed: 156 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | 26 | | |
24 | 27 | | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
28 | 36 | | |
29 | 37 | | |
30 | 38 | | |
31 | 39 | | |
32 | 40 | | |
| 41 | + | |
33 | 42 | | |
| 43 | + | |
| 44 | + | |
34 | 45 | | |
35 | 46 | | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
36 | 50 | | |
| 51 | + | |
37 | 52 | | |
38 | 53 | | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
39 | 57 | | |
40 | 58 | | |
41 | 59 | | |
| 60 | + | |
42 | 61 | | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
43 | 65 | | |
44 | 66 | | |
45 | 67 | | |
| |||
48 | 70 | | |
49 | 71 | | |
50 | 72 | | |
51 | | - | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
52 | 85 | | |
53 | | - | |
| 86 | + | |
54 | 87 | | |
55 | 88 | | |
56 | 89 | | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
57 | 93 | | |
58 | 94 | | |
59 | 95 | | |
60 | 96 | | |
61 | 97 | | |
62 | | - | |
| 98 | + | |
63 | 99 | | |
| 100 | + | |
| 101 | + | |
64 | 102 | | |
65 | 103 | | |
66 | | - | |
67 | | - | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
68 | 107 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
72 | 111 | | |
73 | 112 | | |
74 | | - | |
75 | | - | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
76 | 120 | | |
77 | 121 | | |
78 | 122 | | |
79 | 123 | | |
80 | 124 | | |
81 | 125 | | |
82 | 126 | | |
83 | | - | |
| 127 | + | |
84 | 128 | | |
85 | 129 | | |
86 | 130 | | |
| |||
98 | 142 | | |
99 | 143 | | |
100 | 144 | | |
101 | | - | |
102 | | - | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
103 | 148 | | |
104 | 149 | | |
105 | 150 | | |
106 | 151 | | |
107 | 152 | | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
108 | 172 | | |
| 173 | + | |
| 174 | + | |
109 | 175 | | |
110 | 176 | | |
111 | 177 | | |
112 | 178 | | |
113 | | - | |
| 179 | + | |
| 180 | + | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
114 | 200 | | |
115 | 201 | | |
116 | 202 | | |
| |||
119 | 205 | | |
120 | 206 | | |
121 | 207 | | |
122 | | - | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
123 | 215 | | |
124 | 216 | | |
125 | 217 | | |
126 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
| 232 | + | |
| 233 | + | |
| 234 | + | |
| 235 | + | |
| 236 | + | |
| 237 | + | |
| 238 | + | |
| 239 | + | |
| 240 | + | |
| 241 | + | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
| 249 | + | |
| 250 | + | |
| 251 | + | |
| 252 | + | |
| 253 | + | |
| 254 | + | |
| 255 | + | |
| 256 | + | |
| 257 | + | |
| 258 | + | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
127 | 268 | | |
Lines changed: 5 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
27 | 32 | | |
28 | 33 | | |
29 | 34 | | |
| |||
Lines changed: 27 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | 9 | | |
12 | 10 | | |
13 | 11 | | |
| |||
16 | 14 | | |
17 | 15 | | |
18 | 16 | | |
| 17 | + | |
19 | 18 | | |
| 19 | + | |
| 20 | + | |
20 | 21 | | |
21 | 22 | | |
22 | 23 | | |
| |||
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
39 | 55 | | |
40 | 56 | | |
41 | 57 | | |
42 | 58 | | |
43 | 59 | | |
44 | 60 | | |
45 | 61 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | | - | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
51 | 71 | | |
52 | 72 | | |
53 | 73 | | |
| |||
Lines changed: 11 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
| |||
79 | 81 | | |
80 | 82 | | |
81 | 83 | | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
82 | 93 | | |
83 | 94 | | |
84 | 95 | | |
| |||
0 commit comments