I created a FastAPI app based on Workflow using the following code.
workflow = TargetInfoRetriever()
workflow.workflow_id = "target_info_retriever"
fastapi_app = FastAPIApp(
workflows=[workflow],
name="Target Info Retriever",
app_id="target_info_retriever",
description="A target info retriever agent that can retriever the relevant data about your input.",
)
app = fastapi_app.get_app()
if __name__ == '__main__':
fastapi_app.serve(app="main:app", port=8001, reload=True)
When I use Postman to test the API interface, it keeps showing the following error.
So how can I set the value of the workflow_input
field When accessing a FastAPI app created by Workflow