mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-24 05:45:11 +00:00
fix(v1m): replace kwargs with typed extra_body to eliminate ANN003 violation
This commit is contained in:
parent
e0875bb74c
commit
c038375235
1 changed files with 2 additions and 2 deletions
|
|
@ -31,7 +31,7 @@ class V1MConfig(OpenAIGPTConfig):
|
|||
messages: list[dict] | None = None,
|
||||
state: str | dict | None = None,
|
||||
questions: dict | None = None,
|
||||
**kwargs,
|
||||
extra_body: dict | None = None,
|
||||
) -> dict:
|
||||
clean_model = model.replace("v1m/", "") if model.startswith("v1m/") else model
|
||||
|
||||
|
|
@ -58,7 +58,7 @@ class V1MConfig(OpenAIGPTConfig):
|
|||
"state": extracted_state or user_prompt or "General State Assessment",
|
||||
"questions": {
|
||||
"decision": {
|
||||
"prompt": user_prompt or "Evaluate state validity.",
|
||||
"prompt": user_prompt = "Evaluate state validity.",
|
||||
"instructions": "Determine probabilistic confidence and classification.",
|
||||
"type": "choice",
|
||||
"criteria": {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue