Skip to content

Use completion interface for models#8

Merged
Zsailer merged 1 commit intomainfrom
switch-to-completion
Feb 10, 2025
Merged

Use completion interface for models#8
Zsailer merged 1 commit intomainfrom
switch-to-completion

Conversation

@Zsailer
Copy link
Collaborator

@Zsailer Zsailer commented Feb 10, 2025

Fixes a minor bug in the example agent.

Jupyter AI expects the LLM interface to be used whose ainvoke returns a response of type str; do not assume this is a chat_model, which assumed a structured response with content as a field.

@Zsailer Zsailer added the bug Something isn't working label Feb 10, 2025
@github-actions
Copy link

Binder 👈 Launch a Binder on branch Zsailer/jupyterlab-magic-wand/switch-to-completion

@Zsailer Zsailer merged commit 729c333 into main Feb 10, 2025
7 checks passed
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 this pull request may close these issues.

1 participant