Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LangGraph-GUI/LangGraph-GUI-backend
/ functions
Functions
46 in github.com/LangGraph-GUI/LangGraph-GUI-backend
⨍
Functions
46
◇
Types & classes
6
↳
Endpoints
7
↓ 20 callers
Function
logger
(*args, **kwargs)
src/util.py:6
↓ 8 callers
Function
clip_history
(history: str, max_chars: int = 16000)
src/llm.py:17
↓ 6 callers
Function
find_nodes_by_type
(node_map: Dict[str, NodeData], node_type: str)
src/WorkFlow.py:47
↓ 4 callers
Method
flush
(self)
src/ServerTee.py:44
↓ 4 callers
Method
write
(self, message)
src/ServerTee.py:22
↓ 3 callers
Function
create_llm_chain
Creates and invokes an LLM chain using the prompt template and the history.
src/llm.py:73
↓ 3 callers
Function
get_or_create_workspace
Ensures the workspace directory for a given username exists. Creates the directory if it doesn't exist.
src/FileTransmit.py:21
↓ 2 callers
Function
get_llm
(llm_model, api_key)
src/llm.py:22
↓ 2 callers
Method
notify_subscribers
(self, message)
src/ServerTee.py:68
↓ 2 callers
Method
run
(self, command: list, cwd: str)
src/process_handler.py:15
↓ 1 callers
Function
ChatBot
(llm, question)
src/llm.py:52
↓ 1 callers
Function
build_subgraph
(node_map: Dict[str, NodeData], llm)
src/WorkFlow.py:152
↓ 1 callers
Function
condition_switch
(name:str, state: PipelineState, prompt_template: str, llm)
src/WorkFlow.py:104
↓ 1 callers
Function
execute_step
(name:str, state: PipelineState, prompt_template: str, llm)
src/WorkFlow.py:56
↓ 1 callers
Function
execute_tool
(name: str, state: PipelineState, prompt_template: str, llm)
src/WorkFlow.py:69
↓ 1 callers
Method
from_dict
(cls, data)
src/NodeData.py:47
↓ 1 callers
Method
get_stream
(self)
src/process_handler.py:81
↓ 1 callers
Function
info_add
(name: str, state: PipelineState, information: str, llm)
src/WorkFlow.py:120
↓ 1 callers
Function
main
()
src/run_graph.py:8
↓ 1 callers
Function
parse_nodes_from_json
Parses node data from a subgraph's JSON structure. Args: graph_data: A dictionary representing a subgraph. Returns: A di
src/WorkFlow.py:32
↓ 1 callers
Function
run_workflow_as_server
(llm)
src/WorkFlow.py:264
↓ 1 callers
Function
sg_add
(name:str, state: PipelineState, sg_name: str)
src/WorkFlow.py:130
↓ 1 callers
Method
status
(self)
src/process_handler.py:73
↓ 1 callers
Function
stream_response
()
src/main.py:81
↓ 1 callers
Method
subscribe
(self)
src/ServerTee.py:75
↓ 1 callers
Method
unsubscribe
(self, q)
src/ServerTee.py:81
Method
__init__
(self)
src/process_handler.py:8
Method
__init__
(self, filename, mode='a')
src/ServerTee.py:14
Function
catch_all
(request: Request, anypath: str)
src/main.py:105
Function
check_status
(username: str)
src/main.py:92
Function
clean_cache
(username: str)
src/FileTransmit.py:84
Method
close
(self)
src/ServerTee.py:58
Function
conditional_edge
(state: PipelineState)
src/WorkFlow.py:146
Function
create_llm_chain_google
(prompt_template: str, llm, history: Optional[str] = None)
src/llm.py:84
Function
download_workspace
(username: str)
src/FileTransmit.py:34
Method
from_dict
(cls, data)
src/NodeData.py:12
Function
invoke_root
(state: MainGraphState)
src/WorkFlow.py:252
Function
process_string
(request: Request, username: str)
src/main.py:47
Function
run_script
(request: Request, username: str)
src/main.py:62
Method
stream_output
(stream, prefix)
src/process_handler.py:34
Method
stream_to_frontend
Yields log lines to a frontend until stop_event is set (if provided). This can be used in a Flask or FastAPI streaming endpoint.
src/ServerTee.py:86
Method
subscribe
(self)
src/process_handler.py:78
Method
to_dict
(self)
src/NodeData.py:8
Method
to_dict
(self)
src/NodeData.py:43
Function
tool
(func: Callable)
src/WorkFlow.py:24
Function
upload_file
(username: str, files: List[UploadFile] = File(...))
src/FileTransmit.py:67