Skip to content

Comments

Release/v0.4.11#136

Merged
lchoquel merged 3 commits intomainfrom
release/v0.4.11
Jun 30, 2025
Merged

Release/v0.4.11#136
lchoquel merged 3 commits intomainfrom
release/v0.4.11

Conversation

@lchoquel
Copy link
Member

📝 Description

  • LLM Settings Simplification: Streamlined LLM choice system by removing complex for_object_direct, for_object_list, and for_object_list_direct options. LLM selection now uses a simpler fallback pattern: specific choice → text choice → overrides → defaults.
  • Image Model Updates: Renamed image_bytes field to base_64 in PromptImageTypedBytes for better consistency. Updated to use CustomBaseModel base class to benefit from bytes truncation when printing.

🔄 Type of Change

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

lchoquel and others added 3 commits June 30, 2025 19:25
Simplify choice of llm:
* reduce settings to text and object/structure
* use main LLM setting fo structured generation before using general settings

Also
* Limit image bytes printing in Anthropic factory, truncate bytes in PromptImageTypedBytes
@lchoquel lchoquel requested a review from thomashebrard June 30, 2025 17:33
@lchoquel lchoquel merged commit 78a0c0f into main Jun 30, 2025
15 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jun 30, 2025
@lchoquel lchoquel deleted the release/v0.4.11 branch June 30, 2025 21:33
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