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
This commit is contained in:
10
test_sigint.sh
Executable file
10
test_sigint.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/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"
|
||||
Reference in New Issue
Block a user