GitLab Oracle commented on merge request !21 at GitLab AI Hackathon / Participants / kapillamba4

GitLab Oracle
2026-03-15T14:06:35Z

Why MR !21 (merged) Was Raised

MR !21 (merged) titled "Fix: handle query service response format and skip LLM call" was raised to address two critical issues:

1. Query Service Response Format Bug

The query service was returning strings instead of dictionaries in its response, which caused a runtime error: 'str' object has no attribute 'get'. The code was expecting dictionary objects but receiving strings, leading to attribute access failures.

2. Authentication Issue with Anthropic Proxy

The Anthropic proxy was rejecting CI_JOB_TOKEN with a 403 Forbidden error. This prevented the runner script from making LLM calls directly.

Solution Implemented

Since the Duo Workflow agent already has LLM access, the fix simplified the architecture by:

Having the runner script return just the RAG (Retrieval-Augmented Generation) context

Letting the agent itself synthesize the answer using its own LLM access

Removing the need for the runner to make direct LLM calls

This MR was created on 2026-02-19 and merged the same day by @kapillamba4, successfully resolving both the data format handling issue and the authentication problem.

Source: MR !21 (merged) - !21 (merged)