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

Get chat app working with new messages format #251

Merged
merged 5 commits into from
Dec 14, 2024
Merged

Conversation

sydney-runkle
Copy link
Member

Coerce messages to new ChatMessage format to yield to typescript frontend.

Copy link

cloudflare-workers-and-pages bot commented Dec 14, 2024

Deploying pydantic-ai with  Cloudflare Pages  Cloudflare Pages

Latest commit: f9d9205
Status: ✅  Deploy successful!
Preview URL: https://50c10ecd.pydantic-ai.pages.dev
Branch Preview URL: https://fix-chatbot.pydantic-ai.pages.dev

View logs

Copy link
Member

@samuelcolvin samuelcolvin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

otherwise LGTM

pydantic_ai_examples/chat_app.html Outdated Show resolved Hide resolved
pydantic_ai_examples/chat_app.py Show resolved Hide resolved
pydantic_ai_examples/chat_app.py Outdated Show resolved Hide resolved
pydantic_ai_examples/chat_app.py Outdated Show resolved Hide resolved
sydney-runkle and others added 4 commits December 14, 2024 11:02
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
Co-authored-by: Samuel Colvin <s@muelcolvin.com>
@sydney-runkle sydney-runkle enabled auto-merge (squash) December 14, 2024 16:14
@sydney-runkle sydney-runkle merged commit 04f8c46 into main Dec 14, 2024
13 checks passed
@sydney-runkle sydney-runkle deleted the fix-chatbot branch December 14, 2024 16:16
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.

2 participants