forked from HAL9000/cleveragents-core
a6f3bd3841
This commit adds JSON/YAML schemas, Python stubs, fixture examples, and comprehensive test coverage for data contracts across all modules (auth, AI models, contexts, plans, orgs, etc.). Implements automated validation through Behave and
27 lines
635 B
JSON
27 lines
635 B
JSON
{
|
|
"id": "example_string",
|
|
"ownerId": "example_string",
|
|
"contextType": "<ContextType>",
|
|
"name": "example_string",
|
|
"url": "example_string",
|
|
"file_path": "example_string",
|
|
"sha": "example_string",
|
|
"numTokens": 42,
|
|
"body": "example_string",
|
|
"bodySize": 42,
|
|
"forceSkipIgnore": true,
|
|
"imageDetail": "<openai.ImageURLDetail>",
|
|
"mapParts": "<FileMapBodies>",
|
|
"mapShas": {
|
|
"key": "<map[string]string>"
|
|
},
|
|
"mapTokens": {
|
|
"key": "<map[string]int>"
|
|
},
|
|
"mapSizes": {
|
|
"key": "<map[string]int64>"
|
|
},
|
|
"autoLoaded": true,
|
|
"createdAt": "2024-01-01T00:00:00Z",
|
|
"updatedAt": "2024-01-01T00:00:00Z"
|
|
} |