Commit 4f43c51
Removed requrement for unique node names for Peristency feature (#1288)
<!--
Thank you for opening a pull request!
Please add a brief description of the proposed change here.
Also, please tick the appropriate points in the checklist below.
-->
## Motivation and Context
Aim of the PR is to remove requirement (and check) for unique graph node
names and migrate to node path usage.
## Breaking Changes
<!-- Will users need to update their code or configurations? -->
Yes
---
#### Type of the changes
- [ ] New feature (non-breaking change which adds functionality)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] Breaking change (fix or feature that would cause existing
functionality to change)
- [ ] Documentation update
- [ ] Tests improvement
- [ ] Refactoring
#### Checklist
- [x] The pull request has a description of the proposed change
- [x] I read the [Contributing
Guidelines](https://github.com/JetBrains/koog/blob/main/CONTRIBUTING.md)
before opening the pull request
- [x] The pull request uses **`develop`** as the base branch
- [ ] Tests for the changes have been added
- [x] All new and existing tests passed
##### Additional steps for pull requests adding a new feature
- [ ] An issue describing the proposed change exists
- [ ] The pull request includes a link to the issue
- [ ] The change was discussed and approved in the issue
- [ ] Docs have been added / updated1 parent 3e7df1f commit 4f43c51
File tree
32 files changed
+296
-192
lines changed- agents
- agents-core/src
- commonMain/kotlin/ai/koog/agents/core
- agent
- context
- entity
- execution
- dsl/builder
- commonTest/kotlin/ai/koog/agents/core
- agent/execution
- feature
- agents-features
- agents-features-snapshot/src
- commonMain/kotlin/ai/koog/agents/snapshot/feature
- jvmTest/kotlin
- ai/koog/agents/snapshot/providers/file
- agents-features-sql/src/jvmTest/kotlin/ai/koog/agents/features/sql/providers
- agents-test/src/commonMain/kotlin/ai/koog/agents/testing/agent
- docs/docs
- examples/simple-examples/src/main/kotlin/ai/koog/agents/example/snapshot
- sql
- integration-tests/src/jvmTest/kotlin/ai/koog/integration/tests/agent
32 files changed
+296
-192
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
12 | | - | |
| 12 | + | |
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| |||
Lines changed: 14 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| 10 | + | |
10 | 11 | | |
11 | 12 | | |
12 | 13 | | |
| |||
97 | 98 | | |
98 | 99 | | |
99 | 100 | | |
100 | | - | |
| 101 | + | |
101 | 102 | | |
102 | 103 | | |
103 | 104 | | |
104 | 105 | | |
105 | 106 | | |
106 | | - | |
| 107 | + | |
107 | 108 | | |
108 | 109 | | |
109 | 110 | | |
| |||
114 | 115 | | |
115 | 116 | | |
116 | 117 | | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
122 | 121 | | |
123 | | - | |
124 | 122 | | |
125 | | - | |
| 123 | + | |
126 | 124 | | |
127 | 125 | | |
| 126 | + | |
128 | 127 | | |
129 | 128 | | |
130 | 129 | | |
| |||
134 | 133 | | |
135 | 134 | | |
136 | 135 | | |
137 | | - | |
138 | | - | |
| 136 | + | |
| 137 | + | |
139 | 138 | | |
140 | | - | |
| 139 | + | |
141 | 140 | | |
142 | 141 | | |
143 | | - | |
| 142 | + | |
144 | 143 | | |
145 | 144 | | |
146 | 145 | | |
147 | 146 | | |
148 | 147 | | |
149 | | - | |
| 148 | + | |
150 | 149 | | |
151 | 150 | | |
152 | 151 | | |
153 | 152 | | |
154 | 153 | | |
155 | | - | |
| 154 | + | |
156 | 155 | | |
157 | 156 | | |
158 | 157 | | |
| |||
agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/agent/execution/AgentExecutionInfo.kt
Lines changed: 1 addition & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
16 | 16 | | |
17 | 17 | | |
18 | 18 | | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | 19 | | |
32 | 20 | | |
33 | 21 | | |
| |||
36 | 24 | | |
37 | 25 | | |
38 | 26 | | |
39 | | - | |
| 27 | + | |
40 | 28 | | |
41 | 29 | | |
42 | 30 | | |
| |||
Lines changed: 17 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
agents/agents-core/src/commonMain/kotlin/ai/koog/agents/core/dsl/builder/AIAgentSubgraphBuilder.kt
Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
229 | 230 | | |
230 | 231 | | |
231 | 232 | | |
232 | | - | |
| 233 | + | |
233 | 234 | | |
234 | 235 | | |
235 | 236 | | |
| |||
248 | 249 | | |
249 | 250 | | |
250 | 251 | | |
251 | | - | |
252 | | - | |
| 252 | + | |
253 | 253 | | |
254 | 254 | | |
255 | 255 | | |
256 | | - | |
| 256 | + | |
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
817 | 817 | | |
818 | 818 | | |
819 | 819 | | |
| 820 | + | |
| 821 | + | |
820 | 822 | | |
821 | 823 | | |
Lines changed: 8 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
| 24 | + | |
| 25 | + | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
27 | 29 | | |
28 | 30 | | |
29 | 31 | | |
30 | 32 | | |
31 | 33 | | |
32 | | - | |
| 34 | + | |
33 | 35 | | |
34 | 36 | | |
35 | 37 | | |
| |||
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
51 | | - | |
| 53 | + | |
52 | 54 | | |
53 | 55 | | |
54 | 56 | | |
| |||
67 | 69 | | |
68 | 70 | | |
69 | 71 | | |
| 72 | + | |
70 | 73 | | |
71 | 74 | | |
72 | 75 | | |
73 | 76 | | |
74 | | - | |
| 77 | + | |
75 | 78 | | |
76 | 79 | | |
77 | 80 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
80 | 81 | | |
81 | 82 | | |
82 | 83 | | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | 84 | | |
98 | 85 | | |
99 | 86 | | |
| |||
122 | 109 | | |
123 | 110 | | |
124 | 111 | | |
125 | | - | |
| 112 | + | |
126 | 113 | | |
127 | 114 | | |
128 | 115 | | |
| |||
137 | 124 | | |
138 | 125 | | |
139 | 126 | | |
140 | | - | |
| 127 | + | |
141 | 128 | | |
142 | 129 | | |
143 | 130 | | |
144 | 131 | | |
145 | 132 | | |
146 | 133 | | |
147 | 134 | | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | 135 | | |
153 | 136 | | |
154 | 137 | | |
| |||
182 | 165 | | |
183 | 166 | | |
184 | 167 | | |
185 | | - | |
| 168 | + | |
186 | 169 | | |
187 | 170 | | |
188 | 171 | | |
| |||
192 | 175 | | |
193 | 176 | | |
194 | 177 | | |
195 | | - | |
| 178 | + | |
196 | 179 | | |
197 | 180 | | |
198 | 181 | | |
| |||
201 | 184 | | |
202 | 185 | | |
203 | 186 | | |
204 | | - | |
| 187 | + | |
205 | 188 | | |
206 | 189 | | |
207 | 190 | | |
| |||
263 | 246 | | |
264 | 247 | | |
265 | 248 | | |
266 | | - | |
| 249 | + | |
267 | 250 | | |
268 | 251 | | |
269 | 252 | | |
270 | 253 | | |
271 | 254 | | |
272 | | - | |
| 255 | + | |
273 | 256 | | |
274 | 257 | | |
275 | 258 | | |
276 | | - | |
| 259 | + | |
277 | 260 | | |
278 | 261 | | |
279 | 262 | | |
| |||
297 | 280 | | |
298 | 281 | | |
299 | 282 | | |
300 | | - | |
| 283 | + | |
301 | 284 | | |
302 | 285 | | |
303 | 286 | | |
| |||
356 | 339 | | |
357 | 340 | | |
358 | 341 | | |
359 | | - | |
| 342 | + | |
360 | 343 | | |
361 | 344 | | |
362 | 345 | | |
| |||
File renamed without changes.
0 commit comments