Skip to content

Commit

Permalink
pre-commit
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcSkovMadsen committed Dec 27, 2024
1 parent f5a5561 commit 50474a7
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/applicable_recipes.md
Original file line number Diff line number Diff line change
Expand Up @@ -887,4 +887,4 @@ template = pn.template.BootstrapTemplate(
)
template.servable()
```
</details>
</details>
2 changes: 1 addition & 1 deletion docs/chat_features.md
Original file line number Diff line number Diff line change
Expand Up @@ -516,4 +516,4 @@ pn.template.FastListTemplate(
```
</details>

Live Apps: <a href='../pyodide/styled_slim_interface.html' target='_blank' title='The app is running entirely in the browser powered by Pyodide'>Pyodide</a>
Live Apps: <a href='../pyodide/styled_slim_interface.html' target='_blank' title='The app is running entirely in the browser powered by Pyodide'>Pyodide</a>
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@
Originally derived from https://ai.pydantic.dev/examples/pydantic-model/.
"""
import os
import urllib.parse
from typing import cast

import panel as pn
import param
from pydantic import BaseModel
import urllib.parse
from pydantic_ai import Agent
from pydantic_ai.models import KnownModelName
import panel as pn

HEADER_CSS = """
.header {
Expand All @@ -33,6 +34,7 @@
"Best food in Germany": "Where do I find the best food in Germany?",
}


class LocationModel(BaseModel):
city: str
country: str
Expand Down
2 changes: 1 addition & 1 deletion docs/kickstart_snippets.md
Original file line number Diff line number Diff line change
Expand Up @@ -484,4 +484,4 @@ template = pn.template.FastListTemplate(
pn.state.onload(load_model)
template.servable()
```
</details>
</details>
1 change: 1 addition & 0 deletions tests/ui/inputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ def openai_images_dall_e(page: Page):
chat.send("Create a complex HoloViz dashboard")
page.wait_for_timeout(12000)


def pydanticai_find_city_agent(page: Page):
chat = ChatInterface(page)
chat.send("Where is the AI capital of Europe?")
Expand Down

0 comments on commit 50474a7

Please sign in to comment.