fix: Windows compatibility improvements#162
Open
colorwlof wants to merge 1 commit intodataelement:mainfrom
Open
fix: Windows compatibility improvements#162colorwlof wants to merge 1 commit intodataelement:mainfrom
colorwlof wants to merge 1 commit intodataelement:mainfrom
Conversation
… optimization - agent_tools.py: Windows event loop (ProactorEventLoop), GBK/UTF-16LE decoding, PowerShell for bash, UTF-8 file writes - feishu.py: fix tool_call history loading for multi-round conversations - tools.py: show MCP tools in agent tools assignment page - main.py: remove emoji logs, disable seed_default_agents - websocket.py: fix tool_call history building - llm_client.py: disable httpx system proxy (trust_env=False) - links.bat: fix Windows venv path - frontend/AgentDetail.tsx: remove refetchInterval, uncontrolled input, useCallback - Add CUSTOM_MODIFICATIONS.md for tracking local changes
Collaborator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Windows compatibility fixes for Clawith backend and frontend.
Backend Changes
Windows subprocess support (
agent_tools.py)WindowsProactorEventLoopPolicyfor Python 3.12+ on Windowswrite_textencoding for UTF-8 (Windows GBK issue)MCP tools visibility (
tools.py)Feishu tool_call history (
feishu.py)httpx proxy (
llm_client.py)trust_env=Falseto all 4 LLM clientsStartup fixes (
main.py)seed_default_agents()to prevent overwriting custom agentsStartup script (
links.bat).venv\Scripts\uvicorn--reloadto avoid watchfiles subprocess issuesFrontend Changes
AgentDetail.tsx)refetchIntervalpolling (caused input lag)useCallbackfor sendChatMsgNote