OpenWiki's reliance on OpenRouter for model provision, specifically the inability to control or "pin" specific sub-providers within OpenRouter, leading to unreliable model responses and tool invocation failures.
Raw Developer Origin & Technical Request
GitHub Issue
Jul 2, 2026
I setup openwiki mostly using defaults. GLM 5.2 & OpenRouter with LangSmith for tracing.
I was messing around attempting to start getting the wiki going.
My issue? One of the providers OpenRouter was choosing for GLM 5.2 is bugging and failing and sending back truncated requests which cause this error in OpenWiki
```
* Error Error invoking tool 'write_file' with kwargs {} with error: Error: Received tool input did not match expected schema
✖ Invalid input: expected string, received undefined
→ at file_path
at DynamicStructuredTool.call (file:///home/user/.nvm/versions/node/v24.7.0/lib/node_modules/openwiki/node_modules/@langchain/core/dist/tools/index.js:113:10)
at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
at async baseHandler (file:///home/user/.nvm/versions/node/v24.7.0/lib/node_modules/openwiki/node_modules/langchain/dist/agents/nodes/ToolNode.js:211:20)
at async ToolNode.wrappedHandler [as wrapToolCall] (file:///home/user/.nvm/versions/node/v24.7.0/lib/node_modules/openwiki/node_modules/langchain/dist/agents/utils.js:363:20)
at async ToolNode.runTool (file:///home/user/.nvm/versions/node/v24.7.0/lib/node_modules/openwiki/node_modules/langchain/dist/agents/nodes/ToolNode.js:257:11)
at async ToolNode.run (file:///home/user/.nvm/versions/node/v24.7.0/lib/node_modules/openwiki/node_modules/langchain/dist/agents/nodes/ToolNode.js:292:15)
at async ToolNode.invoke (file:///home/user/.nvm/versions/node/v24.7.0/li...
Developer Debate & Comments
No active discussions extracted for this entry yet.
Adjacent Repository Pain Points
Other highly discussed features and pain points extracted from langchain-ai/openwiki.
Frequently Asked Questions
Market intelligence mapped to OpenWiki's reliance on OpenRouter for model provision, specifically the inability to control or "pin" specific sub-providers within OpenRouter, leading to unreliable model responses and tool invocation failures..
What is the technical positioning of OpenWiki's reliance on OpenRouter for model provision, specifically the inability to control or "pin" specific sub-providers within OpenRouter, leading to unreliable model responses and tool invocation failures.?
What architecture is tied to OpenWiki's reliance on OpenRouter for model provision, specifically the inability to control or "pin" specific sub-providers within OpenRouter, leading to unreliable model responses and tool invocation failures.?
Engagement Signals
Cross-Market Term Frequency
Quantifies the cross-market adoption of foundational terms like GLM 5.2 and OpenRouter by tracking occurrence frequency across active SaaS architectures and enterprise developer debates.
SaaS Metrics