Skip to content

[FEATURE] Warn on unknown model configuration properties #815

@zastrowm

Description

@zastrowm

Problem Statement

Invalid parameter names passed to model providers don’t throw any errors/warning logs which confuses users.

Proposed Solution

Start warning users on unknown properties/values passed into the providers

Use Case

This would aid developers in knowing that properties are not taking effect

Alternatives Solutions

No response

Additional Context

Our current configuration unpacks/packs configuration arguments in a way that doesn't allow us to strongly typed parameters, so we can't rely on Python typing to enable this. We don't want to raise an exception as folks could be relying on this behavior, so the best we can do seems to be to emit a warning.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions