Skip to content

[pull] main from topoteretes:main#23

Merged
pull[bot] merged 2 commits intoMu-L:mainfrom
topoteretes:main
Feb 20, 2026
Merged

[pull] main from topoteretes:main#23
pull[bot] merged 2 commits intoMu-L:mainfrom
topoteretes:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull bot commented Feb 20, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

htrambadia and others added 2 commits February 20, 2026 10:44
This PR fixes an issue when ingesting image files using Cognee with the
Ollama LLM provider.

Previously, attempting to ingest an image resulted in the following
error:

`OllamaAPIAdapter.transcribe_image() missing 1 required positional
argument: 'input_file'
`

The issue was caused by a mismatch between the transcribe_image method
signature in OllamaAPIAdapter and how it was being invoked during the
ingestion pipeline. The method expected the input_file positional
argument but it was not being passed correctly.

This PR updates the method signature and call site to ensure the
input_file parameter is passed consistently, aligning the Ollama adapter
implementation with the expected interface used by the ingestion flow.

After this fix, image ingestion using Ollama works correctly without
raising argument errors.

**Acceptance Criteria**
- Image ingestion works when Ollama is configured as the LLM provider.
- No missing required positional argument: 'input_file' error is raised.
- The ingestion pipeline completes successfully.
- The image is processed and stored correctly in Neo4j.

**Verified locally on:**
- Ubuntu 24.04
- Python 3.12
- Neo4j
- Cognee 0.5.2

**Type of Change**
- Bug fix (non-breaking change that fixes an issue)

**DCO Affirmation**
I affirm that all code in every commit of this pull request conforms to
the terms of the Topoteretes Developer Certificate of Origin.

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Bug Fixes**
* Enhanced validation for transcription output to catch missing or
malformed results in audio and image processing operations.

<!-- end of auto-generated comment: release notes by coderabbit.ai -->
@pull pull bot locked and limited conversation to collaborators Feb 20, 2026
@pull pull bot added the ⤵️ pull label Feb 20, 2026
@pull pull bot merged commit 4966c7a into Mu-L:main Feb 20, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants