Skip to content

Cache the context fetching response on duo-chat eval

Bruno Cardoso requested to merge bc/cache-context-responses into main

What does this merge request do and why?

Add a simple cache by url to avoid hitting the Gitlab API too hard when fetching the context of issues and epics.

How to set up and validate locally

  1. Run the pipeline with LOGLEVEL=DEBUG to see the msgs.
LOGLEVEL=DEBUG poetry run promptlib duo-chat eval --config-file data/config/duochat_config.json.example

Merge request checklist

  • I've ran the affected pipeline(s) to validate that nothing is broken.
  • Tests added for new functionality. If not, please raise an issue to follow up.
  • Documentation added/updated, if needed.
Edited by Bruno Cardoso

Merge request reports

Loading