Skip to content

chore(deps): update ruby_llm to 1.16.0 - #16

Merged
DenisDenis9331 merged 1 commit into
DenisDenis9331:mainfrom
SergoHUH:chore/update-ruby-llm
Aug 10, 2026
Merged

chore(deps): update ruby_llm to 1.16.0#16
DenisDenis9331 merged 1 commit into
DenisDenis9331:mainfrom
SergoHUH:chore/update-ruby-llm

Conversation

@SergoHUH

@SergoHUH SergoHUH commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

ПРАВКИ:

1. В Gemfile RubyLLM обновлён с 1.15.0 до 1.16.0. Версия 1.15 не могла обновить актуальный реестр моделей, поэтому gemini-3.6-flash завершалась ошибкой ModelNotFoundError

2. В Gemfile.lock зафиксирована версия 1.16.0, чтобы локально и в CI устанавливалась одна и та же версия зависимости.

3. В lib/aireview/reviewer.rb добавлено обновление реестра удалённых моделей перед первым запросом, чтобы RubyLLM распознавала новые модели

4. Обновление выполняется только один раз за запуск Reviewer, чтобы не обращаться к реестру повторно перед стадией critique.

5. В spec/reviewer_spec.rb добавлены тесты, проверяющие обновление реестра для Gemini и отсутствие обновления для Ollama.

@DenisDenis9331

Copy link
Copy Markdown
Owner

распиши плиз зачем нужны правки

Comment thread lib/aireview/reviewer.rb Outdated
Comment thread lib/aireview/reviewer.rb Outdated
@SergoHUH
SergoHUH force-pushed the chore/update-ruby-llm branch from 26ad166 to 5a26834 Compare August 7, 2026 11:04
@SergoHUH

SergoHUH commented Aug 7, 2026

Copy link
Copy Markdown
Contributor Author

Дополнительних запросов теперь к models.dev нет, gemini-3.6-flash передаётся напрямую провайдеру Gemini.

Comment thread lib/aireview/reviewer.rb Outdated
@SergoHUH
SergoHUH force-pushed the chore/update-ruby-llm branch from 5a26834 to 853dc8d Compare August 10, 2026 10:26
@SergoHUH

SergoHUH commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author
  1. Для известных моделей сначала используется обычный вызов без assume_model_exists: реализация

  2. fallback для неизвестной модели

  3. тест известной модели

  4. Тест неизвестной модели

  5. Проверки провайдеров

Comment thread lib/aireview/reviewer.rb
@SergoHUH
SergoHUH force-pushed the chore/update-ruby-llm branch from 853dc8d to d0ce298 Compare August 10, 2026 11:50
@DenisDenis9331
DenisDenis9331 merged commit 7aa3095 into DenisDenis9331:main Aug 10, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants