mirror of
https://github.com/langgenius/dify.git
synced 2026-05-26 03:47:42 +08:00
fix: correct override decorator placement
This commit is contained in:
@ -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,
|
||||
*,
|
||||
|
||||
Reference in New Issue
Block a user