Skip to content

Conversation

@mmabrouk
Copy link
Member

@mmabrouk mmabrouk commented Feb 3, 2026

Summary

Stacked on #3622

Updates evaluation OpenAPI parsing to prefer the new x-agenta-flags.is_chat vendor extension, with fallback to legacy heuristics.

Changes

  • Parse x-agenta-flags.is_chat from OpenAPI /test or /run operations
  • Fall back to legacy heuristic (check for messages property or x-parameter: messages)
  • Thread is_chat through payload construction so message parsing only runs for chat apps
  • Add temporary logging to distinguish which detection path was used

Logging (temporary)

Chat detection from x-agenta-flags  is_chat=True  path=/test

or

Chat detection fallback to heuristic  is_chat=True  path=/test

These logs will be removed after validation.

Files Changed

  • api/oss/src/services/llm_apps_service.py
  • api/oss/src/core/evaluations/tasks/legacy.py
  • docs/design/chat-interface-rfc/status.md

- Parse x-agenta-flags.is_chat from OpenAPI operations when available
- Fall back to legacy heuristic based on messages fields
- Thread is_chat into evaluation payload building and add temporary logs
@vercel
Copy link

vercel bot commented Feb 3, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
agenta-documentation Ready Ready Preview, Comment Feb 3, 2026 7:10pm

Request Review

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