MCPcopy
hub / github.com/kagent-dev/kagent / isValidProviderInfoKey

Function isValidProviderInfoKey

ui/src/lib/providers.ts:81–83  ·  view source on GitHub ↗
(key: string)

Source from the content-addressed store, hash-verified

79};
80
81export const isValidProviderInfoKey = (key: string): key is ModelProviderKey => {
82 return key in PROVIDERS_INFO;
83};
84
85
86// Helper to get the display name from the backend type

Callers 5

ModelProviderComboboxFunction · 0.90
onSubmitStep1CreateFunction · 0.90
ModelConfigStepFunction · 0.90
providers.test.tsFile · 0.90
handleSubmitFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected