holoviz / lumen

Illuminate your data.
https://lumen.holoviz.org
BSD 3-Clause "New" or "Revised" License
177 stars 20 forks source link

insert context properly #699

Closed ahuang11 closed 2 months ago

ahuang11 commented 2 months ago

The system prompt was inserted twice: system_prompt += f"{system_prompt}..."

Also, instead of using + additional context, use the built-in kwarg.

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 0% with 6 lines in your changes missing coverage. Please review.

Project coverage is 56.61%. Comparing base (fdbfc66) to head (e1b4dba). Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
lumen/ai/agents.py 0.00% 6 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #699 +/- ## ======================================= Coverage 56.61% 56.61% ======================================= Files 98 98 Lines 11694 11694 ======================================= Hits 6620 6620 Misses 5074 5074 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.