Commit b072b64
authored
skip standalone runner init when --openaiurl is provided (#842)
Commands wrapped with withStandaloneRunner were unconditionally calling
ensureStandaloneRunnerAvailable before RunE executed, causing a Docker
socket connection attempt even when --openaiurl was supplied and no
local daemon is needed.
Check for the openaiurl flag in the wrapper and bypass runner
initialization when it is set.
Signed-off-by: Eric Curtin <eric.curtin@docker.com>1 parent 388a9fd commit b072b64
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
186 | 186 | | |
187 | 187 | | |
188 | 188 | | |
189 | | - | |
190 | | - | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
191 | 196 | | |
192 | 197 | | |
193 | 198 | | |
| |||
0 commit comments