MCPcopy Create free account
hub / github.com/github/gh-aw / UnrecognizedParams

Function UnrecognizedParams

pkg/workflow/model_identifier.go:359–367  ·  view source on GitHub ↗

UnrecognizedParams returns the list of parameter keys in params that are not defined in Section 6 (i.e., not effort or temperature). Reserved future parameters (Section 6.3) are returned here as well since they are not yet defined.

(params map[string]string)

Source from the content-addressed store, hash-verified

357// Reserved future parameters (Section 6.3) are returned here as well since they
358// are not yet defined.
359func UnrecognizedParams(params map[string]string) []string {
360 var unknown []string
361 for k := range params {
362 if _, known := knownModelParams[k]; !known {
363 unknown = append(unknown, k)
364 }
365 }
366 return unknown
367}
368
369// ─── Utility ──────────────────────────────────────────────────────────────────

Callers 3

TestUnrecognizedParamsFunction · 0.85
FuzzParseModelIdentifierFunction · 0.85

Calls

no outgoing calls

Tested by 2

TestUnrecognizedParamsFunction · 0.68
FuzzParseModelIdentifierFunction · 0.68