fix: fix import linting, remove incorrect tests (#25849)

This commit is contained in:
QuantumGhost
2025-09-17 21:26:35 +08:00
committed by GitHub
3 changed files with 14 additions and 413 deletions

View File

@ -261,6 +261,7 @@ class InstructionGenerateApi(Resource):
instruction=args["instruction"],
model_config=args["model_config"],
ideal_output=args["ideal_output"],
workflow_service=WorkflowService(),
)
return {"error": "incompatible parameters"}, 400
except ProviderTokenNotInitError as ex: