Chat.app() logs GET /favicon.ico 404 Not Found and provides no way to configure a favicon
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 55/100
Research direction
Start by reading the implementation of Chat.app() and how it serves the chat interface. The issue leaves the intended solution open: a default favicon, a configuration option, or documentation for avoiding the 404. Done means the chosen approach addresses the /favicon.ico request without cluttering logs, with behavior covered by an appropriate test or documentation.
Written by the indexing model from the issue text.
Description
When launching a chat app via Chat.app(), the browser automatically requests /favicon.ico. Since chatlas does not serve any favicon and app() exposes no parameter to configure one, the server logs a 404 Not Found for every page load:
INFO: 127.0.0.1:11212 - "GET /favicon.ico HTTP/1.1" 404 Not Found
This is harmless for the chat functionality, but it clutters the logs and cannot be suppressed or fixed through the public API.
Reproduce
import chatlas as ctl
image_url = "https://www.python.org/static/img/python-logo.png"
base_url = ""
chat = ctl.ChatOpenAICompletions(
model="qwen3.8-27b",
api_key=_KEY,
base_url=base_url,
system_prompt="You are a helpful assistant.",
)
chat.app()
Open the app in a browser. The terminal running the app will show the 404 log line.
Screeshot:
Expected behavior
Either:
Chat.app() serves a default favicon (even a tiny placeholder), or
Chat.app() accepts a parameter to specify a custom favicon or static file directory, or
The documentation explains how to avoid the 404 (e.g. by ignoring it or by building a custom Shiny app).
- Dominant language
- Python
- Stars
- 179
- Forks
- 32
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 10
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from posit-dev/chatlas
-
A streaming text delta that repeats everything streamed so far is missing from the recorded turnPossibly taken @cpsievert claimed this 81 days ago. Openai-triage:done Priority: Medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
ai-triage:needs-review documentation
Difficulty 2/5 1-2 days Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
Maintainers usually reply within 1 day
-
Difficulty 4/5 1-2 days Newbie friendliness 35/100
Maintainers usually reply within 1 day
-
ai-triage:done Priority: Medium
Difficulty 5/5 Over a week Newbie friendliness 35/100
posit-dev/chatlas#432 · 2 comments ·
Maintainers usually reply within 1 day
All issues in posit-dev/chatlas
Similar issues
-
jira: an unquoted JQL number of more than 4300 digits is a plain-text 500, where real answers 200Openfidelity
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
A JSON chat answer blocks the backend event loop for the whole RAG runPossibly taken @NopeCharon claimed this today. Open
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
The-OpenROAD-Project/ORAssistant#656 ·
Maintainers usually reply within 1 day
-
bug(operator): VolterraOperator built inside jax.jit with a concrete decay raises TracerBoolConversionErrorPossibly taken @jejjohnson claimed this today. Opentype:bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
jejjohnson/integrix#144 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
finos/ai-governance-framework#459 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
autowarefoundation/autoware_carla_scenario#2963 ·
Maintainers usually reply within 1 day