Skip to content

dev to release/v0.2.10#31

Merged
thomashebrard merged 4 commits intorelease/v0.2.10from
dev
Jun 2, 2025
Merged

dev to release/v0.2.10#31
thomashebrard merged 4 commits intorelease/v0.2.10from
dev

Conversation

@thomashebrard
Copy link
Copy Markdown
Member

🔗 Related Issues

📝 Description

🔄 Type of Change

  • 🐛 Bug fix
  • ✨ New feature
  • 💥 Breaking change
  • 📚 Documentation update
  • 🧹 Code refactor
  • ⚡ Performance improvement
  • ✅ Test update

🧪 Tests

📋 Checklist

  • Linting / type-checking / unit tests pass locally with my changes
  • I've added tests that prove my fix is effective or that my feature works
  • My code follows the style guidelines of this project
  • I've made corresponding changes to the documentation
  • My changes generate no new warnings

thomashebrard and others added 3 commits May 31, 2025 16:39
* fix/python3>=11

* f

* fix makefile

* gha

* fix

* test

* e

* a

* ok

* t

* a

* lint
* fix/tests-without-google cred

* fix/Makefile-python-version

* fix Makefile
### Features
- Template preprocessor new token prefix `@?` for **optional insertion**: if the variable doesn't exist in the context, nothing is inserted (instead of raising an exception).

### Models
- Added **Claude 4 Opus and Sonnet**, usable through the Anthropic SDK at Anthropic and Bedrock and usable with the Bedrock SDK. Includes a specific setting to reduce the max_tokens limit to avoid a timeout/streaming issue yet to be addressed later.
- Added support for the **Grok 3** family through the OpenAI SDK.
- Added support for **GPT4o image generation** through the OpenAI SDK, with the gpt-image-1 model. Available through PipeImgGen as an alternative to the Forest Lab (FAL) supported models. Currently saves local files, to be addressed.
- Added latest gemini-2.5-pro

### Base Library
- **Added Pipe:** extract_page_contents_and_views_from_pdf which not only grabs the text and linked images from PDF but also includes `page_view` images, i.e. pages rendered as images (very useful for using Vision down the line). This one used to be defined in the cookbook samples so, congrats on the promotion.

### Refactor
- Improved **error handling** in several places regarding inference
- Moved cogt tests into the tests/pipelex so they can share fixtures, currently used for imgg_handle (image generation handle)

### Fixes
- Fixed integration of **Perplexity**, broken by recent changes

### Dependencies
- Updated **instructor** to 1.8.3
- Dev: replaced pytest-pretty by **pytest-sugar** because pytest-pretty truncates test-case names just to make it fit into a pretty rich table. Function before fashion.

### 🔄 Type of Change
- [x] 🐛 Bug fix
- [X] ✨ New feature
- [ ] 💥 Breaking change
- [ ] 📚 Documentation update
- [X] 🧹 Code refactor
- [ ] ⚡ Performance improvement
- [X] ✅ Test update

### 🧪 Tests
- TestTemplatePreprocessor
- TestImggByOpenAIGpt
- TestImageGeneration
- TestPipeImgg
Copy link
Copy Markdown
Member

@lchoquel lchoquel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK

@thomashebrard thomashebrard merged commit e5964f6 into release/v0.2.10 Jun 2, 2025
12 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 2, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants