ignoredLoadOptionKnobs function

List<String> ignoredLoadOptionKnobs(
  1. LoadOptions? options
)

LoadOptions fields ModelLoadRequest (model_types.proto) has no wire path for yet. Only framework reaches commons at load time; contextLength, threads, and useGpu are accepted for cross-SDK API parity but are dropped below this call until the native load ABI grows placement fields (tracked as a follow-up — see PR #605 review follow-up issue 8).

Exposed (not private) so model_gate_test.dart can assert on it directly without driving the full native load path.

Implementation

List<String> ignoredLoadOptionKnobs(LoadOptions? options) => <String>[
  if (options?.contextLength != null) 'contextLength',
  if (options?.threads != null) 'threads',
  if (options?.useGpu != null) 'useGpu',
];