Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prompts missing from verbose log for chat models #378

Closed
trebedea opened this issue Mar 5, 2024 · 1 comment · Fixed by #379
Closed

Prompts missing from verbose log for chat models #378

trebedea opened this issue Mar 5, 2024 · 1 comment · Fixed by #379
Assignees
Labels
bug Something isn't working

Comments

@trebedea
Copy link
Collaborator

trebedea commented Mar 5, 2024

Prompts are missing from verbose log for chat models and an warning message is shown:

WARNING:langchain_core.callbacks.manager:Error in LoggingCallbackHandler.on_chat_model_start callback: TypeError('can only concatenate list (not "str") to list')

@trebedea trebedea added the bug Something isn't working label Mar 5, 2024
@trebedea trebedea self-assigned this Mar 5, 2024
@drazvan
Copy link
Collaborator

drazvan commented Mar 5, 2024

Thanks for the fix! Do create a PR so we can merge.

drazvan added a commit that referenced this issue Mar 6, 2024
…-chat-models

Fix #378 - missing prompt in verbose mode for chat models
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants