Skip to content

Instantly share code, notes, and snippets.

@bu5hm4nn
bu5hm4nn / qodo-abacus-gitlab-guide.md
Created February 2, 2026 11:27
Setting up Qodo PR-Agent with Abacus AI on GitLab CI

Setting Up Qodo PR-Agent with Abacus AI on GitLab CI

This guide explains how to configure Qodo PR-Agent to use Abacus AI's RouteLLM API for automated code reviews in GitLab merge requests.

The Challenge

Qodo PR-Agent uses litellm for LLM routing. While Abacus AI provides an OpenAI-compatible API, configuring it through litellm's openai provider doesn't work correctly because:

  1. The openai provider prepends openai/ to model names (e.g., openai/gpt-5.1-codex-max)
  2. Abacus AI rejects prefixed model names with "Invalid model" errors
@bu5hm4nn
bu5hm4nn / gist:f377cf60397b70c536481280f85a0fda
Created March 9, 2023 04:07
Get glyph width in Rust egui
let char = 'C';
let width = ui.fonts(|f| -> f32 {
f.glyph_width(&TextStyle::Body.resolve(ui.style()), char)
});
@bu5hm4nn
bu5hm4nn / atmega1284p_bootloader.md
Last active November 29, 2025 12:26
Flash Bootloader to Creality Ender 3 Pro (ATMega1284p, Melzi, Sanguino) using a Raspberry Pi only

My raspberry is running Raspbian

  1. Setup avrdude on Raspberry following this guide: http://archive.today/U0WzQ

    The wiring diagram works exactly the same for the Creality Melzi board

    To run the test, replace atmega328p with atmega1284p