Skip to content

Initial 2.1#415

Draft
gotsysdba wants to merge 53 commits intomainfrom
2.1
Draft

Initial 2.1#415
gotsysdba wants to merge 53 commits intomainfrom
2.1

Conversation

@gotsysdba
Copy link
Member

No description provided.

@oracle-contributor-agreement oracle-contributor-agreement bot added the OCA Verified All contributors have signed the Oracle Contributor Agreement. label Mar 14, 2026
gotsysdba and others added 28 commits March 14, 2026 18:13
Port CPU optimization feature and hardening fixes from main into 2.1
architecture:

- Add extract_parameter_count() and is_small_model() to litellm_utils.py
- Add 4 small Ollama models (llama3.2:1b/3b, gemma3:1b, phi4-mini) to
  defaults.py, disabled by default
- Add CPU mode detection in sidebar.py to auto-disable rephrase/grade
  for small models
- Port defensive .get() calls, env var fallbacks, and regex table naming
  to langchain config.py
- Fix auto-merged lowercase logger back to uppercase LOGGER convention
- Update test imports from common.functions to server.app.models.litellm_utils
- Delete files removed in 2.1 refactoring (st_common.py, tool_options.py,
  functions.py, bootstrap/models.py)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

OCA Verified All contributors have signed the Oracle Contributor Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant