cognee icon indicating copy to clipboard operation
cognee copied to clipboard

feat: add support to pass custom parameters in OpenAI adapter

Open siillee opened this issue 1 month ago • 2 comments

Description

A user raised this issue/feature request: https://github.com/topoteretes/cognee/issues/1784 This PR implements this in a way, but I may have misunderstood the request. If I'm correct, I think it makes sense to support this, if our users need it.

Type of Change

  • [ ] Bug fix (non-breaking change that fixes an issue)
  • [ ] New feature (non-breaking change that adds functionality)
  • [ ] Breaking change (fix or feature that would cause existing functionality to change)
  • [ ] Documentation update
  • [ ] Code refactoring
  • [ ] Performance improvement
  • [ ] Other (please specify):

Screenshots/Videos (if applicable)

Pre-submission Checklist

  • [ ] I have tested my changes thoroughly before submitting this PR
  • [ ] This PR contains minimal changes necessary to address the issue/feature
  • [ ] My code follows the project's coding standards and style guidelines
  • [ ] I have added tests that prove my fix is effective or that my feature works
  • [ ] I have added necessary documentation (if applicable)
  • [ ] All new and existing tests pass
  • [ ] I have searched existing PRs to ensure this change hasn't been submitted already
  • [ ] I have linked any relevant issues in the description
  • [ ] My commits have clear and descriptive messages

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.

siillee avatar Nov 17 '25 16:11 siillee

Please make sure all the checkboxes are checked:

  • [ ] I have tested these changes locally.
  • [ ] I have reviewed the code changes.
  • [ ] I have added end-to-end and unit tests (if applicable).
  • [ ] I have updated the documentation and README.md file (if necessary).
  • [ ] I have removed unnecessary code and debug statements.
  • [ ] PR title is clear and follows the convention.
  • [ ] I have tagged reviewers or team members for feedback.

pull-checklist[bot] avatar Nov 17 '25 16:11 pull-checklist[bot]

[!IMPORTANT]

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • [ ] Create PR with unit tests
  • [ ] Post copyable unit tests in a comment
  • [ ] Commit unit tests in branch feature/cog-3396-add-support-to-pass-custom-parameters-in-openai-adapter

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

coderabbitai[bot] avatar Nov 17 '25 16:11 coderabbitai[bot]