MCPcopy Index your code
hub / github.com/coder/coder / ProviderOptions

Method ProviderOptions

coderd/x/chatd/chatadvisor/runtime.go:139–144  ·  view source on GitHub ↗

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.

()

Source from the content-addressed store, hash-verified

137// map reflects what nested calls will actually receive; callers must not
138// mutate the map or its entries.
139func (rt *Runtime) ProviderOptions() fantasy.ProviderOptions {
140 if rt == nil {
141 return nil
142 }
143 return rt.cfg.ProviderOptions
144}
145
146func (rt *Runtime) tryAcquire() bool {
147 for {

Calls

no outgoing calls