ProviderOptions reports the resolved provider options applied to each advisor call. NewRuntime clones the supplied options so the returned map reflects what nested calls will actually receive; callers must not mutate the map or its entries.
()
| 137 | // map reflects what nested calls will actually receive; callers must not |
| 138 | // mutate the map or its entries. |
| 139 | func (rt *Runtime) ProviderOptions() fantasy.ProviderOptions { |
| 140 | if rt == nil { |
| 141 | return nil |
| 142 | } |
| 143 | return rt.cfg.ProviderOptions |
| 144 | } |
| 145 | |
| 146 | func (rt *Runtime) tryAcquire() bool { |
| 147 | for { |
no outgoing calls