claude-code with OpenAI mode fix

This commit is contained in:
HitMargin
2026-04-04 01:21:00 +08:00
commit c9f95fc34d
3050 changed files with 557030 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
# Project Instructions
This is a sample CLAUDE.md file for testing purposes.

View File

@@ -0,0 +1,33 @@
{
"userMessage": {
"role": "user",
"content": "Hello, Claude"
},
"assistantMessage": {
"role": "assistant",
"content": [
{ "type": "text", "text": "Hello! How can I help?" }
]
},
"toolUseMessage": {
"role": "assistant",
"content": [
{
"type": "tool_use",
"id": "toolu_test_001",
"name": "Read",
"input": { "file_path": "/tmp/test.txt" }
}
]
},
"toolResultMessage": {
"role": "user",
"content": [
{
"type": "tool_result",
"tool_use_id": "toolu_test_001",
"content": "file contents here"
}
]
}
}