Skip to content

Fix/list handling#74

Merged
finitearth merged 9 commits into
automl:mainfrom
akristing22:fix/list_handling
May 24, 2026
Merged

Fix/list handling#74
finitearth merged 9 commits into
automl:mainfrom
akristing22:fix/list_handling

Conversation

@akristing22
Copy link
Copy Markdown
Contributor

@akristing22 akristing22 commented May 21, 2026

Fixes #73 the list handling
as well as the prompt template (Fixes #71)

erinin added 6 commits May 20, 2026 15:42
when response is a list of a single list of dict, it has to be handled separately
when response is a list of a single list of dict, it has to be handled separately
when response is a list of a single list of dict, it has to be handled separately
@akristing22 akristing22 requested a review from mo374z as a code owner May 21, 2026 09:33
@finitearth
Copy link
Copy Markdown
Collaborator

Thanks! Dropped the chat-template line since #72 already handles it. I collapsed the if/elif into a single [r[0] if isinstance(r, list) else r for r in response] and added a regression test in tests/llms/test_local_llm.py.

@finitearth finitearth requested a review from timo282 May 22, 2026 15:16
@finitearth finitearth merged commit 7132ab5 into automl:main May 24, 2026
2 checks passed
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.

List handling in LocalLLM._get_response Chat template for local model

3 participants