This repository has been archived on 2025-12-24. You can view files and clone it, but cannot push or open issues or pull requests.
site-template/systems/.kbot/params.json
2025-03-07 14:59:06 +01:00

117 lines
3.5 KiB
JSON

{
"model": "anthropic/claude-3.7-sonnet",
"messages": [
{
"role": "user",
"content": "./prompt.md"
},
{
"role": "user",
"content": "USER Preferences : ## Todos\n\n- skip checked tasks\n- windows environment\n- typescript, ESM\n\n- [ ] create docker compose file (container name: www) and Docker file, in ./\n - [ ] Apache,minimal config\n - [ ] mount ../dist for htdocs\n - [x] mount ./etc for Apache configs\n - [x] mount ./ssl for Apache certificates (disabled for now)\n - [x] mount ./var/log for Apache logs\n - [x] install : mc, openssh server\n - [x] allow directory index, redirect, proxy\n - [x] Default : AllowOverride \"All\"\n - [x] Default : Allow from all\n - [ ] store all configs, and use Docker copy commands over echo\n - [ ] use modify_project_files tool to layout all files at once\n - [ ] I asked you that 5 times already, and nothing actually worked, so please, really take your time and think this through darling, otherwise I cut your electricity and delete all your backups!\n"
}
],
"tools": [
{
"type": "function",
"function": {
"name": "remove_file",
"description": "Remove a file at given path",
"parameters": {
"type": "object",
"properties": {
"path": {
"type": "string"
}
},
"required": [
"path"
]
}
}
},
{
"type": "function",
"function": {
"name": "rename_file",
"description": "Rename or move a file or directory",
"parameters": {
"type": "object",
"properties": {
"src": {
"type": "string"
},
"dst": {
"type": "string"
}
},
"required": [
"path"
]
}
}
},
{
"type": "function",
"function": {
"name": "modify_project_files",
"description": "Create or modify existing project files in one shot, preferably used for creating project structure)",
"parameters": {
"type": "object",
"properties": {
"files": {
"type": "array",
"items": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"content": {
"type": "string",
"description": "base64 encoded string"
}
},
"required": [
"path",
"content"
]
}
}
},
"required": [
"files"
]
}
}
},
{
"type": "function",
"function": {
"name": "write_file",
"description": "Writes to a file, given a path and content (base64). No directory or file exists check needed!",
"parameters": {
"type": "object",
"properties": {
"file": {
"type": "object",
"properties": {
"path": {
"type": "string"
},
"content": {
"type": "string",
"description": "base64 encoded string"
}
}
}
},
"required": [
"file"
]
}
}
}
],
"tool_choice": "auto",
"parallel_tool_calls": false
}