MCPcopy Create free account

hub / github.com/bartolli/langgraph-runtime / functions

Functions25 in github.com/bartolli/langgraph-runtime

↓ 6 callersFunctionprocess_task
Process task through planning and execution stages with message history support.
src/main.py:1129
↓ 5 callersFunctioncreate_llm
Create a configured LLM instance This function creates an LLM that works exactly like ChatOpenAI, maintaining compatibility with .with_st
src/main.py:101
↓ 3 callersFunctioncreate_planner_graph
Create planning stage graph for requirements gathering. Builds a LangGraph for the planning phase that: 1. Generates clarifying questions
src/main.py:1064
↓ 3 callersFunctionsetup_logger
Configure colored logging with custom format. Sets up both the main application logger and adjusts third-party loggers to maintain consis
src/main.py:23
↓ 2 callersFunctionget_task_history
Get the complete history of a task's execution.
src/test_persistence.py:12
↓ 2 callersFunctionget_task_history
Get the complete history of a task's execution.
src/main.py:1210
↓ 1 callersFunctionask_user_question
Prompt the user with a question and get their response. Provides a simple CLI interface to ask the user a question and collect their response
src/main.py:340
↓ 1 callersFunctioncli
Command-line interface for the runtime graph system.
src/main.py:1250
↓ 1 callersFunctioncreate_execution_graph
Create execution graph from plan with proper dependencies. Builds a LangGraph execution graph based on the provided plan: 1. Creates node
src/main.py:976
↓ 1 callersFunctiongenerate_specialist_prompt
Generate a specialized system prompt for a specific task. Focused system prompt that will help guide the AI agent in completing a specifi
src/main.py:541
↓ 1 callersFunctionmain
()
src/example_workflow.py:12
↓ 1 callersFunctionmain
()
src/test_persistence.py:40
↓ 1 callersFunctionsave_step_result
Save step execution results to file. Args: step_id: Step identifier description: Step description system_prompt: Gene
src/main.py:942
↓ 1 callersFunctionsubstitute_value
Recursively substitute variables in a value.
src/main.py:306
↓ 1 callersFunctionsubstitute_variables
Substitute variables in step arguments with results from previous steps. Replaces placeholder variables (e.g. $1, $2) in step arguments with
src/main.py:281
Functionask_questions
Process questions and collect responses sequentially with message history.
src/main.py:475
Functioncontinue_task
Continue a previous task using its thread ID. Args: thread_id: The thread ID of the previous task follow_up_query: The follow
src/main.py:1238
Functioncreate_plan
Create detailed execution plan based on gathered requirements. Analyzes requirements and generates a structured execution plan with appro
src/main.py:569
Methoddescription
Get the description for this action type.
src/main.py:165
Functiondict_merge
Merge two dictionaries for concurrent state updates in the runtime graph. Used as a merge strategy for the RuntimeState's agent_results field
src/main.py:228
Functionexecute_step
Execute a single step in the execution plan. Handles step execution by: 1. Generating specialized system prompt for the step 2. Gathe
src/main.py:831
Methodformat
(self, record)
src/main.py:34
Functiongenerate_questions
Generate questions with conversation context support.
src/main.py:395
Functionlist_merge
Merge two lists for concurrent state updates. Args: list1: First list list2: Second list Returns: List[A
src/main.py:255
Functionshould_continue_questions
Determine next stage based on current state.
src/main.py:1088