anomalyco / anomalyco/opencode
reapeated upstream errors hapening
Open
@neriousy is already working on this.
Since Aug 29, 2026.
- Dominant language
- TypeScript
- Stars
- 209k
- Forks
- 27.5k
- PR merge metrics
- PR metrics pending
Description
Description
Example of errors:
Details
Error from provider (Console Go): Upstream request failed: [400] Tool 312 function has invalid 'parameters' schema: [{'type': 'string'}, {'type': 'string'}] is not of type 'object', 'boolean'
Failed validating 'type' in metaschema['allOf'][1]['properties']['properties']['additionalProperties']['$dynamicRef']['allOf'][1]['properties']['anyOf']['items']['$dynamicRef']['allOf'][1]['properties']['items']['$dynamicRef']['allOf'][0]:
{'$schema': 'https://json-schema.org/draft/2020-12/schema',
'$id': 'https://json-schema.org/draft/2020-12/meta/core',
'$vocabulary': {'https://json-schema.org/draft/2020-12/vocab/core': True},
'$dynamicAnchor': 'meta',
'title': 'Core vocabulary meta-schema',
'type': ['object', 'boolean'],
'properties': {'$id': {'$ref': '#/$defs/uriReferenceString',
'$comment': 'Non-empty fragments not allowed.',
'pattern': '^[^#]*#?$'},
'$schema': {'$ref': '#/$defs/uriString'},
'$ref': {'$ref': '#/$defs/uriReferenceString'},
'$anchor': {'$ref': '#/$defs/anchorString'},
'$dynamicRef': {'$ref': '#/$defs/uriReferenceString'},
'$dynamicAnchor': {'$ref': '#/$defs/anchorString'},
'$vocabulary': {'type': 'object',
'propertyNames': {'$ref': '#/$defs/uriString'},
'additionalProperties': {'type': 'boolean'}},
'$comment': {'type': 'string'},
'$defs': {'type': 'object',
'additionalProperties': {'$dynamicRef': '#meta'}}},
'$defs': {'anchorString': {'type': 'string',
'pattern': '^[A-Za-z_][-A-Za-z0-9._]*$'},
'uriString': {'type': 'string', 'format': 'uri'},
'uriReferenceString': {'type': 'string',
'format': 'uri-reference'}}}
On schema['properties']['date_range']['anyOf'][1]['items']:
[{'type': 'string'}, {'type': 'string'}]
Plugins
only internal enabled, excluding which key
OpenCode version
1.18.25
Steps to reproduce
just ask ai to work on a larger task.
happens in both agents and subagent.
happens with alldeepseekm hy3, mimo v2.5 model. did
Screenshot and/or share link
No response
Operating System
Linux 7.1.5-200.fc44.x86_64 (x64)
Terminal
xterm-256color
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.