Files
ai-setup/test_sigint.sh
vitaly 42546b4dc1 feat: migrate Kimi from Moonshot to Artemox OpenAI API
- Add claude-openai-anthropic-proxy.py (Anthropic ↔ OpenAI translator)
- Rewrite claude_kimi to use native kimi CLI instead of Claude wrapper
- Add OpenAI-compatible API test helpers (_claude_test_openai_api, _handle_openai_api_response)
- Replace 127.0.0.1 with localhost for broader compatibility
- Add test for query-string handling in Kimi proxy
- Update README to reflect Artemox API usage
2026-05-31 17:55:57 +07:00

11 lines
348 B
Bash
Executable File

#!/bin/bash
python3 -c "import time; print('python started'); time.sleep(100)" &
py_pid=$!
node -e "
console.log('node started');
process.on('SIGINT', () => console.log('node caught sigint'));
setTimeout(() => console.log('node done'), 10000);
"
echo "checking python"
kill -0 $py_pid 2>/dev/null && echo "python alive" || echo "python dead"