fix: correct override decorator placement

This commit is contained in:
WH-2099
2026-05-23 17:34:48 +08:00
parent 7d118499df
commit c22a8d1c57
2 changed files with 2 additions and 4 deletions

View File

@ -272,7 +272,6 @@ class PluginModelRuntime(ModelRuntime):
return schema
@overload
@override
def invoke_llm(
self,
*,
@ -287,7 +286,6 @@ class PluginModelRuntime(ModelRuntime):
) -> LLMResult: ...
@overload
@override
def invoke_llm(
self,
*,
@ -338,7 +336,6 @@ class PluginModelRuntime(ModelRuntime):
)
@overload
@override
def invoke_llm_with_structured_output(
self,
*,
@ -353,7 +350,6 @@ class PluginModelRuntime(ModelRuntime):
) -> LLMResultWithStructuredOutput: ...
@overload
@override
def invoke_llm_with_structured_output(
self,
*,