bug: `mellea.plugins.builtin_debug.generation.log_generation_post_call` shows model as unknown
Maintainer thường phản hồi trong vòng 3 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 72/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- ollama, python
- Lĩnh vực
- developer-experience, observability
Hướng nghiên cứu
Bắt đầu từ logger post-call được nêu trong issue, mellea.plugins.builtin_debug.generation.log_generation_post_call, và so sánh dữ liệu nó nhận được với log_generation_pre_call và cấu hình trong docs/docs/how-to/debug-with-plugins.md. Tái hiện bằng đoạn mã được cung cấp với Ollama granite4.2:3b và dùng MELLEA_LOGS_LEVEL=DEBUG. Hoàn thành khi dòng post-call của một gen_id cụ thể in ra cùng tên model với dòng pre-call, còn đầu ra độ trễ và token hiện có vẫn giữ nguyên.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
What happened?
Executing an example based on docs/docs/how-to/debug-with-plugins.md has the post-call emitting model=unknown while the pre-call correctly identified the model.
== 13:35:46-DEBUG ======
[📤 GEN-PRE-CALL gen_id=bb276b72-c8bc-433f-9543-ce393dd92a8d] model=granite4.2:3b | prompt=Write an email inviting interns to an office party at 3:30pm.
=== 13:36:03-DEBUG ======
[📥 GEN-POST-CALL gen_id=bb276b72-c8bc-433f-9543-ce393dd92a8d] model=unknown | latency=17348ms | tokens=(31+478=509) | response=Subject: Invitation: Office Party – 3:30 pm Today Dear Interns, We’re excited to invite you to ...
What did you expect to happen?
Both the pre-call and post-call should correctly emit the model.
How can we reproduce it?
# after:
# export MELLEA_LOGS_LEVEL=DEBUG
# execute:
# python 1.py
$ cat 1.py
from mellea.plugins.builtin_debug.generation import (
log_generation_pre_call,
log_generation_post_call,
)
from mellea.plugins import register
register([
log_generation_pre_call,
log_generation_post_call,
])
import mellea
with mellea.start_session() as m:
email = m.instruct("Write an email inviting interns to an office party at 3:30pm.")
print(str(email))
Mellea version
(coding in `main`)
python -c "import mellea; print(mellea.__version__)"
0.8.0
Any environmental details we need to know?
Ubuntu 26.04.1 LTS
Python 3.14.4
Ollama
granite4.2:3b
Anything else we need to know?
Arose from discussion of #1862
Relevant log output
- Ngôn ngữ chính
- Python
- Star
- 1.8k
- Fork
- 161
- Merge trung bình
- 4 ngày 3 giờ
- Pull request đã merge (30 ngày)
- 45
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của generative-computing/mellea
-
bug: instruct() and react() replay tool-call turns without tool_callsCó thể đã có người làm @simonyang08 đã nhận 21 ngày trước. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 85/100
generative-computing/mellea#1784 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Silently mangled docstrings: lone backslash line-continuations in non-raw docstrings collapse command examplesCó thể đã có người làm @madhusudhan1260 đã nhận 18 ngày trước. Đang mởgood first issue p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
generative-computing/mellea#1780 · 2 bình luận · 1 người được giao ·
Maintainer thường phản hồi trong vòng 3 ngày
-
area/telemetry enhancement p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
generative-computing/mellea#1210 ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Add requirement priorityĐang mởarea/requirement area/stdlib enhancement p2
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
generative-computing/mellea#31 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 3 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 18/100
generative-computing/mellea#1863 ·
Maintainer thường phản hồi trong vòng 3 ngày
Tất cả issue của generative-computing/mellea
Issue tương tự
-
bug game: 0100FF500E34A000 game: 0400FF500E34A001 mac packing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 2 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 74/100
jxxghp/MoviePilot#7576 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 64/100
jbaruch/software-factory#266 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
cron: raise a distinct error when next_fire finds no match in its search bound (from #813 item 5)Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày