Commit cd79e94
committed
refactor(model): remove redundant model parameter from CommonModel initialization
remove unused model parameter from CommonModel constructor and update
overload signatures to use concise syntax
this change simplifies the CommonModel initialization by removing the
redundant model parameter that was being passed but not properly used
in the initialization logic, while also updating the overload signatures
to use more concise syntax
fixes inconsistencies in model parameter handling and cleans up the
API surface
Refactor: remove redundant model parameter from CommonModel
移除 CommonModel 初始化中多余的 model 参数
将重载签名更新为使用更简洁的语法
此更改通过删除传递但未在初始化逻辑中正确使用的冗余 model 参数来简化
CommonModel 初始化,同时将重载签名更新为使用更简洁的语法
修复了 model 参数处理中的不一致并清理了 API 表面
重构:从 CommonModel 中移除冗余的模型参数
Change-Id: I18803899a09f96103b413a91bd99355204ac970f
Signed-off-by: OhYee <oyohyee@oyohyee.com>1 parent 34adab5 commit cd79e94
File tree
3 files changed
+1
-6
lines changed- agentrun/integration
- builtin
- utils
- tests/unittests/integration
3 files changed
+1
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
77 | 77 | | |
78 | 78 | | |
79 | 79 | | |
80 | | - | |
81 | 80 | | |
82 | 81 | | |
83 | 82 | | |
84 | 83 | | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
88 | | - | |
89 | 87 | | |
90 | 88 | | |
91 | 89 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
23 | 22 | | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
27 | 26 | | |
28 | | - | |
29 | 27 | | |
30 | 28 | | |
31 | 29 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
89 | 90 | | |
90 | 91 | | |
91 | 92 | | |
| |||
355 | 356 | | |
356 | 357 | | |
357 | 358 | | |
358 | | - | |
359 | | - | |
360 | 359 | | |
361 | 360 | | |
362 | 361 | | |
| |||
0 commit comments