Venice's API doesn't support certain OpenAI-compatible parameters that Clawdbot sends by default: - `store`: Venice returns HTTP 400 with no body when this is present - `developer` role: Not supported by Venice's API This adds VENICE_COMPAT settings (supportsStore: false, supportsDeveloperRole: false) to all Venice model definitions, both from the static catalog and dynamically discovered models. Fixes issues reported in PR #1666 where users experienced silent failures (HTTP 400, no body) when using Venice models. Co-authored-by: jonisjongithub <jonisjongithub@users.noreply.github.com> Co-authored-by: Clawdbot <bot@clawd.bot>
68 lines
1.5 KiB
JSON
68 lines
1.5 KiB
JSON
{
|
|
"id": "memory-lancedb",
|
|
"kind": "memory",
|
|
"uiHints": {
|
|
"embedding.apiKey": {
|
|
"label": "OpenAI API Key",
|
|
"sensitive": true,
|
|
"placeholder": "sk-proj-...",
|
|
"help": "API key for OpenAI embeddings (or use ${OPENAI_API_KEY})"
|
|
},
|
|
"embedding.model": {
|
|
"label": "Embedding Model",
|
|
"placeholder": "text-embedding-3-small",
|
|
"help": "OpenAI embedding model to use"
|
|
},
|
|
"dbPath": {
|
|
"label": "Database Path",
|
|
"placeholder": "~/.clawdbot/memory/lancedb",
|
|
"advanced": true
|
|
},
|
|
"autoCapture": {
|
|
"label": "Auto-Capture",
|
|
"help": "Automatically capture important information from conversations"
|
|
},
|
|
"autoRecall": {
|
|
"label": "Auto-Recall",
|
|
"help": "Automatically inject relevant memories into context"
|
|
}
|
|
},
|
|
"configSchema": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"embedding": {
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"apiKey": {
|
|
"type": "string"
|
|
},
|
|
"model": {
|
|
"type": "string",
|
|
"enum": [
|
|
"text-embedding-3-small",
|
|
"text-embedding-3-large"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"apiKey"
|
|
]
|
|
},
|
|
"dbPath": {
|
|
"type": "string"
|
|
},
|
|
"autoCapture": {
|
|
"type": "boolean"
|
|
},
|
|
"autoRecall": {
|
|
"type": "boolean"
|
|
}
|
|
},
|
|
"required": [
|
|
"embedding"
|
|
]
|
|
}
|
|
}
|