MCPcopy Create free account

hub / github.com/PhialsBasement/Chain-of-Recursive-Thoughts / functions

Functions54 in github.com/PhialsBasement/Chain-of-Recursive-Thoughts

↓ 4 callersMethod_call_api
Make an API call to OpenRouter with streaming support.
recursive_thinking_ai.py:25
↓ 4 callersFunctiondisable_all_buttons
()
demos/rec-tic-tac.py:56
↓ 3 callersFunctionhandleSaveConversation
(fullLog = false)
frontend/src/components/RecursiveThinkingInterface.jsx:58
↓ 3 callersFunctionprint_board
(board)
demos/tic-tac.py:1
↓ 3 callersMethodsave_conversation
Save the conversation and thinking history.
recursive_thinking_ai.py:249
↓ 3 callersMethodsave_full_log
Save the full thinking process log.
recursive_thinking_ai.py:235
↓ 3 callersMethodthink_and_respond
Process user input with recursive thinking.
recursive_thinking_ai.py:159
↓ 2 callersFunctioncheck_draw
(board)
demos/rec-tic-tac.py:23
↓ 2 callersFunctioncheck_winner
(board, player)
demos/rec-tic-tac.py:10
↓ 2 callersFunctioninitializeChat
()
frontend/src/context/RecThinkContext.js:25
↓ 2 callersFunctionstart_game
(mode)
demos/rec-tic-tac.py:63
↓ 1 callersMethod_determine_thinking_rounds
Let the model decide how many rounds of thinking are needed.
recursive_thinking_ai.py:68
↓ 1 callersMethod_evaluate_responses
Evaluate responses and select the best one.
recursive_thinking_ai.py:108
↓ 1 callersMethod_generate_alternatives
Generate alternative responses.
recursive_thinking_ai.py:88
↓ 1 callersFunctionai_move
(board)
demos/rec-tic-tac.py:26
↓ 1 callersFunctioncheck_winner
(board, player)
demos/tic-tac.py:7
↓ 1 callersFunctioncreate_buttons
(frame)
demos/rec-tic-tac.py:73
↓ 1 callersFunctionhandleSendMessage
()
frontend/src/components/RecursiveThinkingInterface.jsx:45
↓ 1 callersFunctioninitSession
()
frontend/src/components/RecursiveThinkingInterface.jsx:36
↓ 1 callersFunctionis_board_full
(board)
demos/tic-tac.py:18
↓ 1 callersFunctionmain
()
recursive_thinking_ai.py:262
↓ 1 callersFunctionmain
()
demos/rec-tic-tac.py:85
↓ 1 callersFunctionon_button_click
(row, col)
demos/rec-tic-tac.py:30
↓ 1 callersFunctionrenderThinkingIndicator
()
frontend/src/components/RecursiveThinkingInterface.jsx:67
↓ 1 callersFunctionrenderThinkingProcess
()
frontend/src/components/RecursiveThinkingInterface.jsx:88
↓ 1 callersFunctionreportWebVitals
frontend/src/reportWebVitals.js:1
↓ 1 callersFunctionsaveConversation
(filename = null, fullLog = false)
frontend/src/context/RecThinkContext.js:90
↓ 1 callersFunctionsendMessage
(content)
frontend/src/context/RecThinkContext.js:48
↓ 1 callersFunctionstream_callback
(chunk)
recthink_web.py:166
↓ 1 callersFunctiontic_tac_toe
()
demos/tic-tac.py:21
↓ 1 callersFunctionuseRecThink
()
frontend/src/context/RecThinkContext.js:7
FunctionApp
()
frontend/src/App.js:6
FunctionRecThinkProvider
({ children })
frontend/src/context/RecThinkContext.js:9
FunctionRecursiveThinkingInterface
()
frontend/src/components/RecursiveThinkingInterface.jsx:6
Method__init__
Initialize with OpenRouter API.
recursive_thinking_ai.py:11
FunctioncreateWebSocketConnection
(sessionId)
frontend/src/api.js:83
FunctiondeleteSession
(sessionId)
frontend/src/api.js:71
FunctiondeleteSession
(id)
frontend/src/context/RecThinkContext.js:114
Functiondelete_session
Delete a chat session
recthink_web.py:142
FunctioninitializeChat
(apiKey, model)
frontend/src/api.js:4
Functioninitialize_chat
Initialize a new chat session
recthink_web.py:52
FunctionlistSessions
()
frontend/src/api.js:61
Functionlist_sessions
List all active chat sessions
recthink_web.py:129
FunctionloadSessions
()
frontend/src/context/RecThinkContext.js:101
Functionmodified_generate_alternatives
(base_response, prompt, num_alternatives=3)
recthink_web.py:86
Functionprint_board
(board)
demos/rec-tic-tac.py:5
FunctionrenderChatMessage
(message, index)
frontend/src/components/RecursiveThinkingInterface.jsx:144
Functionroot
()
recthink_web.py:208
FunctionsaveConversation
(sessionId, filename = null, fullLog = false)
frontend/src/api.js:41
Functionsave_conversation
Save the conversation or full thinking log
recthink_web.py:109
FunctionsendMessage
(sessionId, message, options = {})
frontend/src/api.js:20
Functionsend_message
Send a message and get a response with thinking process
recthink_web.py:68
Functionwebsocket_endpoint
(websocket: WebSocket, session_id: str)
recthink_web.py:152
Functionws_call_api
(messages, temperature=0.7, stream=True)
recthink_web.py:170