Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PhialsBasement/Chain-of-Recursive-Thoughts
/ functions
Functions
54 in github.com/PhialsBasement/Chain-of-Recursive-Thoughts
⨍
Functions
54
◇
Types & classes
4
↳
Endpoints
6
↓ 4 callers
Method
_call_api
Make an API call to OpenRouter with streaming support.
recursive_thinking_ai.py:25
↓ 4 callers
Function
disable_all_buttons
()
demos/rec-tic-tac.py:56
↓ 3 callers
Function
handleSaveConversation
(fullLog = false)
frontend/src/components/RecursiveThinkingInterface.jsx:58
↓ 3 callers
Function
print_board
(board)
demos/tic-tac.py:1
↓ 3 callers
Method
save_conversation
Save the conversation and thinking history.
recursive_thinking_ai.py:249
↓ 3 callers
Method
save_full_log
Save the full thinking process log.
recursive_thinking_ai.py:235
↓ 3 callers
Method
think_and_respond
Process user input with recursive thinking.
recursive_thinking_ai.py:159
↓ 2 callers
Function
check_draw
(board)
demos/rec-tic-tac.py:23
↓ 2 callers
Function
check_winner
(board, player)
demos/rec-tic-tac.py:10
↓ 2 callers
Function
initializeChat
()
frontend/src/context/RecThinkContext.js:25
↓ 2 callers
Function
start_game
(mode)
demos/rec-tic-tac.py:63
↓ 1 callers
Method
_determine_thinking_rounds
Let the model decide how many rounds of thinking are needed.
recursive_thinking_ai.py:68
↓ 1 callers
Method
_evaluate_responses
Evaluate responses and select the best one.
recursive_thinking_ai.py:108
↓ 1 callers
Method
_generate_alternatives
Generate alternative responses.
recursive_thinking_ai.py:88
↓ 1 callers
Function
ai_move
(board)
demos/rec-tic-tac.py:26
↓ 1 callers
Function
check_winner
(board, player)
demos/tic-tac.py:7
↓ 1 callers
Function
create_buttons
(frame)
demos/rec-tic-tac.py:73
↓ 1 callers
Function
handleSendMessage
()
frontend/src/components/RecursiveThinkingInterface.jsx:45
↓ 1 callers
Function
initSession
()
frontend/src/components/RecursiveThinkingInterface.jsx:36
↓ 1 callers
Function
is_board_full
(board)
demos/tic-tac.py:18
↓ 1 callers
Function
main
()
recursive_thinking_ai.py:262
↓ 1 callers
Function
main
()
demos/rec-tic-tac.py:85
↓ 1 callers
Function
on_button_click
(row, col)
demos/rec-tic-tac.py:30
↓ 1 callers
Function
renderThinkingIndicator
()
frontend/src/components/RecursiveThinkingInterface.jsx:67
↓ 1 callers
Function
renderThinkingProcess
()
frontend/src/components/RecursiveThinkingInterface.jsx:88
↓ 1 callers
Function
reportWebVitals
frontend/src/reportWebVitals.js:1
↓ 1 callers
Function
saveConversation
(filename = null, fullLog = false)
frontend/src/context/RecThinkContext.js:90
↓ 1 callers
Function
sendMessage
(content)
frontend/src/context/RecThinkContext.js:48
↓ 1 callers
Function
stream_callback
(chunk)
recthink_web.py:166
↓ 1 callers
Function
tic_tac_toe
()
demos/tic-tac.py:21
↓ 1 callers
Function
useRecThink
()
frontend/src/context/RecThinkContext.js:7
Function
App
()
frontend/src/App.js:6
Function
RecThinkProvider
({ children })
frontend/src/context/RecThinkContext.js:9
Function
RecursiveThinkingInterface
()
frontend/src/components/RecursiveThinkingInterface.jsx:6
Method
__init__
Initialize with OpenRouter API.
recursive_thinking_ai.py:11
Function
createWebSocketConnection
(sessionId)
frontend/src/api.js:83
Function
deleteSession
(sessionId)
frontend/src/api.js:71
Function
deleteSession
(id)
frontend/src/context/RecThinkContext.js:114
Function
delete_session
Delete a chat session
recthink_web.py:142
Function
initializeChat
(apiKey, model)
frontend/src/api.js:4
Function
initialize_chat
Initialize a new chat session
recthink_web.py:52
Function
listSessions
()
frontend/src/api.js:61
Function
list_sessions
List all active chat sessions
recthink_web.py:129
Function
loadSessions
()
frontend/src/context/RecThinkContext.js:101
Function
modified_generate_alternatives
(base_response, prompt, num_alternatives=3)
recthink_web.py:86
Function
print_board
(board)
demos/rec-tic-tac.py:5
Function
renderChatMessage
(message, index)
frontend/src/components/RecursiveThinkingInterface.jsx:144
Function
root
()
recthink_web.py:208
Function
saveConversation
(sessionId, filename = null, fullLog = false)
frontend/src/api.js:41
Function
save_conversation
Save the conversation or full thinking log
recthink_web.py:109
Function
sendMessage
(sessionId, message, options = {})
frontend/src/api.js:20
Function
send_message
Send a message and get a response with thinking process
recthink_web.py:68
Function
websocket_endpoint
(websocket: WebSocket, session_id: str)
recthink_web.py:152
Function
ws_call_api
(messages, temperature=0.7, stream=True)
recthink_web.py:170