refactor: new caller from interfaces & new service from its option #883
79.32% of diff hit (target 78.09%)
View this Pull Request on Codecov
79.32% of diff hit (target 78.09%)
Annotations
Check warning on line 46 in pkg/bridge/ai/api_server.go
codecov / codecov/patch
pkg/bridge/ai/api_server.go#L46
Added line #L46 was not covered by tests
Check warning on line 52 in pkg/bridge/ai/api_server.go
codecov / codecov/patch
pkg/bridge/ai/api_server.go#L52
Added line #L52 was not covered by tests
Check warning on line 81 in pkg/bridge/ai/api_server.go
codecov / codecov/patch
pkg/bridge/ai/api_server.go#L81
Added line #L81 was not covered by tests
Check warning on line 84 in pkg/bridge/ai/api_server.go
codecov / codecov/patch
pkg/bridge/ai/api_server.go#L84
Added line #L84 was not covered by tests
Check warning on line 89 in pkg/bridge/ai/api_server.go
codecov / codecov/patch
pkg/bridge/ai/api_server.go#L86-L89
Added lines #L86 - L89 were not covered by tests
Check warning on line 92 in pkg/bridge/ai/api_server.go
codecov / codecov/patch
pkg/bridge/ai/api_server.go#L92
Added line #L92 was not covered by tests
Check warning on line 97 in pkg/bridge/ai/api_server.go
codecov / codecov/patch
pkg/bridge/ai/api_server.go#L97
Added line #L97 was not covered by tests
Check warning on line 115 in pkg/bridge/ai/api_server.go
codecov / codecov/patch
pkg/bridge/ai/api_server.go#L114-L115
Added lines #L114 - L115 were not covered by tests
Check warning on line 149 in pkg/bridge/ai/api_server.go
codecov / codecov/patch
pkg/bridge/ai/api_server.go#L149
Added line #L149 was not covered by tests
Check warning on line 59 in pkg/bridge/ai/caller.go
codecov / codecov/patch
pkg/bridge/ai/caller.go#L59
Added line #L59 was not covered by tests
Check warning on line 67 in pkg/bridge/ai/caller.go
codecov / codecov/patch
pkg/bridge/ai/caller.go#L67
Added line #L67 was not covered by tests
Check warning on line 85 in pkg/bridge/ai/caller.go
codecov / codecov/patch
pkg/bridge/ai/caller.go#L85
Added line #L85 was not covered by tests
Check warning on line 97 in pkg/bridge/ai/caller.go
codecov / codecov/patch
pkg/bridge/ai/caller.go#L95-L97
Added lines #L95 - L97 were not covered by tests
Check warning on line 61 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L60-L61
Added lines #L60 - L61 were not covered by tests
Check warning on line 66 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L66
Added line #L66 was not covered by tests
Check warning on line 88 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L84-L88
Added lines #L84 - L88 were not covered by tests
Check warning on line 96 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L92-L96
Added lines #L92 - L96 were not covered by tests
Check warning on line 101 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L100-L101
Added lines #L100 - L101 were not covered by tests
Check warning on line 110 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L110
Added line #L110 was not covered by tests
Check warning on line 133 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L133
Added line #L133 was not covered by tests
Check warning on line 144 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L144
Added line #L144 was not covered by tests
Check warning on line 165 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L165
Added line #L165 was not covered by tests
Check warning on line 174 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L174
Added line #L174 was not covered by tests
Check warning on line 192 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L192
Added line #L192 was not covered by tests
Check warning on line 208 in pkg/bridge/ai/service.go
codecov / codecov/patch
pkg/bridge/ai/service.go#L208
Added line #L208 was not covered by tests