Skip to content

Release/v0.2.12#50

Merged
thomashebrard merged 28 commits intomainfrom
release/v0.2.12
Jun 3, 2025
Merged

Release/v0.2.12#50
thomashebrard merged 28 commits intomainfrom
release/v0.2.12

Conversation

@thomashebrard
Copy link
Copy Markdown
Member

@thomashebrard thomashebrard commented Jun 3, 2025

🔗 Related Issues

📝 Description

[v0.2.12] - 2025-06-03

  • pipelex cli: Split pipelex init into 2 separate functions: pipelex init-libraries and pipelex init-config
  • Fixed the inheritance config manager method
  • Rename Mission to Pipeline
  • Enable to start a pipeline and let in run in the background, getting it's run id, but not waiting for the output
  • Makefile: avoid defaulting pytest to verbose. Setup target make test-xdist = Run unit tests with xdist, make it the default for shorthand make t. The old make t is now make tp (test-with-prints)
  • Added mistral-small-3.1 and qwen3:8b
  • Fix template pre-processor: don't try and substitute a dollar numerical like $10 or @25
  • Refactor with less "OpenAI" naming for non-openai stuff that just uses the OpenAI SDK

🔄 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 25 commits May 31, 2025 15:39
dev to release/v0.2.10
* 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
* fix/python3>=11 (#24)

* fix/python3>=11

* f

* fix makefile

* gha

* fix

* test

* e

* a

* ok

* t

* a

* lint

* Fix/makefile python version (#30)

* fix/tests-without-google cred

* fix/Makefile-python-version

* fix Makefile

* Add inference models & template optional insertion (#32)

### 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

---------

Co-authored-by: Louis Choquel <lchoquel@users.noreply.github.com>
- Moved “plugin” to the same level as “cogt” within **pipelex** for better visibility
- Major cleanup in the unit tests: hierarchy largely flattened
- Added **pytest-xdist** to run unit tests in parallel on multiple CPUs. Not yet integrated into the Makefile, so run it manually with `pytest -n auto` or `pytest -n auto -m "llm"`
- Added `make test-quiet` (shorthand `tq`) to Makefile to run tests without capturing outputs (i.e. without pytest `-s` option)
- Stopped using Fixtures for `pipe_router` and `content_generator`: we're now always getting the singleton from `pipelex.hub`
### 🔗 Related Issues

### 📝 Description

- Rename plugins package and move its confg
- Use constants and defaults via configs instead of code magic numbers

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

* update strenum

* add "3.10",  iin gha

* fix with backports

* to pipelex.types

* update kajson
# Conflicts:
#	CHANGELOG.md
- Add a specific config path that gets loaded right the all the previous ones.
- Use it test `pipelex/pipelex_init.toml` via TestConfigManager
- Fix pipelex/pipelex_init.toml`
### 📝 Description

- Added mistral-small-3.1 and qwen3:8b
- Fix template pre-processor: don't try and substitute a dollar numerical like $10 or @25
- Refactor with less "OpenAI" naming for non-openai stuff that just uses the OpenAI SDK

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

* fix Makefile
### 📝 Description

- rename Mission to Pipeline
- enable to start a pipeline and let in run in the background, getting it's run id, but not waiting for the output
- Makefile: avoid defaulting pytest to verbose. Setup target `make test-xdist` = Run unit tests with xdist, make it the default for shorthand `make t`. The old make t is now make tp (test-with-prints)

### 🔄 Type of Change
- [ ] 🐛 Bug fix
- [X] ✨ New feature
- [ ] 💥 Breaking change
- [ ] 📚 Documentation update
- [X] 🧹 Code refactor
- [ ] ⚡ Performance improvement
- [ ] ✅ Test update
dev to release/v0.2.12
lchoquel
lchoquel previously approved these changes Jun 3, 2025
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

* fix/cli-init

* update makefile

* make cc

* make lock

* fix makefile
dev to release/v0.2.12
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.

LGTM

@thomashebrard thomashebrard merged commit ee06444 into main Jun 3, 2025
18 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Jun 3, 2025
@lchoquel lchoquel deleted the release/v0.2.12 branch June 9, 2025 12:54
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