🐛 (chat.py): fix type annotation for 'data' parameter in retrieve_vertices_order function to allow None as a value
🐛 (constants.py): fix import statement for JsonSpec from langchain.tools.json.tool to langchain_community.tools.json.tool 🐛 (index.tsx): add data-testid attribute to the div element to improve testability 🐛 (buildUtils.ts): add debugger statement for debugging purposes 🐛 (chatInputOutput.spec.ts): fix click event target from "Run" to "Playground" 🐛 (fileUploadComponent.spec.ts): fix click event target from "Run" to "Playground" 🐛 (textInputOutput.spec.ts): fix click event target from "Run" to "Playground"
This commit is contained in:
parent
bdca2e3a40
commit
820c0c3712
7 changed files with 24 additions and 13 deletions
|
|
@ -54,7 +54,7 @@ async def try_running_celery_task(vertex, user_id):
|
|||
@router.post("/build/{flow_id}/vertices", response_model=VerticesOrderResponse)
|
||||
async def retrieve_vertices_order(
|
||||
flow_id: str,
|
||||
data: Annotated[Optional[FlowDataRequest], Body(embed=True)] = None,
|
||||
data: Optional[Annotated[Optional[FlowDataRequest], Body(embed=True)]] = None,
|
||||
stop_component_id: Optional[str] = None,
|
||||
start_component_id: Optional[str] = None,
|
||||
chat_service: "ChatService" = Depends(get_chat_service),
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
from langchain import tools
|
||||
from langchain.agents import Tool
|
||||
from langchain.agents.load_tools import _BASE_TOOLS, _EXTRA_LLM_TOOLS, _EXTRA_OPTIONAL_TOOLS, _LLM_TOOLS
|
||||
from langchain.tools.json.tool import JsonSpec
|
||||
from langchain_community.tools.json.tool import JsonSpec
|
||||
|
||||
from langflow.interface.importing.utils import import_class
|
||||
from langflow.interface.tools.custom import PythonFunctionTool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue