File tree Expand file tree Collapse file tree 1 file changed +0
-8
lines changed
Expand file tree Collapse file tree 1 file changed +0
-8
lines changed Original file line number Diff line number Diff line change @@ -9,10 +9,6 @@ function M.get_opencode_config()
99 if not M .config_promise then
1010 local state = require (' opencode.state' )
1111 M .config_promise = state .api_client :get_config ()
12- -- shouldn't normally happen but prevents error in replay tester
13- if not M .config_promise then
14- return
15- end
1612 end
1713 return M .config_promise :wait () --[[ @as OpencodeConfigFile|nil]]
1814end
3026function M .get_opencode_providers ()
3127 if not M .providers_promise then
3228 local state = require (' opencode.state' )
33- -- shouldn't normally happen but prevents error in replay tester
3429 M .providers_promise = state .api_client :list_providers ()
35- if not M .providers_promise then
36- return
37- end
3830 end
3931 return M .providers_promise :wait () --[[ @as OpencodeProvidersResponse|nil]]
4032end
You can’t perform that action at this time.
0 commit comments