MCPcopy Create free account
hub / github.com/appleboy/CodeGPT / WithOrgID

Function WithOrgID

provider/openai/options.go:49–53  ·  view source on GitHub ↗

WithOrgID is a function that returns an Option, which sets the orgID field of the config struct.

(val string)

Source from the content-addressed store, hash-verified

47
48// WithOrgID is a function that returns an Option, which sets the orgID field of the config struct.
49func WithOrgID(val string) Option {
50 return optionFunc(func(c *config) {
51 c.orgID = val
52 })
53}
54
55// WithModel is a function that returns an Option, which sets the model field of the config struct.
56func WithModel(val string) Option {

Callers 1

NewOpenAIFunction · 0.92

Calls 1

optionFuncFuncType · 0.70

Tested by

no test coverage detected