You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add error handling for unknown fields for chat completion detection request (#296)
* added serde deny_unknown_fields attribute to relevant chat completion request
Signed-off-by: Shonda-Adena-Witherspoon <shonda.adena.witherspoon@ibm.com>
* added validation unit tests
Signed-off-by: Shonda-Adena-Witherspoon <shonda.adena.witherspoon@ibm.com>
* modidified json_data to remove actual model and detector ids in unit tests
Signed-off-by: Shonda-Adena-Witherspoon <shonda.adena.witherspoon@ibm.com>
* removed async from chat completions unit test
Signed-off-by: Shonda-Adena-Witherspoon <shonda.adena.witherspoon@ibm.com>
---------
Signed-off-by: Shonda-Adena-Witherspoon <shonda.adena.witherspoon@ibm.com>
Co-authored-by: Shonda-Adena-Witherspoon <shonda.adena.witherspoon@ibm.com>
0 commit comments