Ecosyste.ms: Timeline
Browse the timeline of events for every public repo on GitHub. Data updated hourly from GH Archive.
cpsievert closed an issue on posit-dev/py-shinywidgets
Old views aren't always removed when new ones enter
Reported here https://discord.com/channels/1109483223987277844/1115318728301740112/threads/1318780947029557289cpsievert pushed 1 commit to main posit-dev/py-shinywidgets
- Ensure a session context is present when widgets are closed (#171) 63e1ea1
cpsievert created a branch on posit-dev/py-shinywidgets
fix-duplicate-views - Render ipywidgets inside a PyShiny app
cpsievert opened an issue on posit-dev/py-shinywidgets
Old views aren't always removed when new ones enter
Reported here https://discord.com/channels/1109483223987277844/1115318728301740112/threads/1318780947029557289cpsievert created a comment on an issue on tidyverse/elmer
Ahh yea, sorry for this. Seems it would still be nice to have a way to more easily get at the most recent token usage (for checking/restricting the size of the conversation), but `chat$last_turn()...
cpsievert closed an issue on tidyverse/elmer
`token_usage()` over-reports token usage
Currently, `token_log()` [_adds_ together input + output tokens on every completion](https://github.com/tidyverse/elmer/blob/30b0f4a/R/tokens.R#L10), which leads `token_usage()` over-reporting the ...cpsievert pushed 1 commit to token-usage posit-dev/chatlas
- Make token_usage() a method not a property Just in case we want parameters 970fe36
cpsievert opened a draft pull request on posit-dev/chatlas
Improvements to token usage
### TODO - [ ] Unit testscpsievert created a comment on an issue on tidyverse/elmer
Somewhat related to this, `chat$tokens()` doesn't feel very useful, since you mostly care about the tokens on the last turn. So, instead of `chat$tokens()`, I think a `chat$token_usage()` (or simi...
cpsievert opened an issue on tidyverse/elmer
`token_usage()` over-reports token usage
Currently, `token_log()` [_adds_ together input + output tokens on every completion](https://github.com/tidyverse/elmer/blob/30b0f4a/R/tokens.R#L10), which leads `token_usage()` over-reporting the ...cpsievert pushed 1 commit to main posit-dev/chatlas
- ChatOpenAI now correctly includes the relevant detail on ContentImageRemote() input 9f9b0fb
cpsievert created a comment on an issue on posit-dev/chatlas
🤦 , thanks for catching that
cpsievert created a comment on an issue on posit-dev/chatlas
It was an intentional decision to build on [ollama's OpenAI compatibility](https://ollama.com/blog/openai-compatibility) rather than the `ollama` Python package so that there'd less provider implem...
cpsievert pushed 1 commit to main posit-dev/chatlas
- ChatOllama no longer requires OPENAI_API_KEY; document it's openai package dependency f8564d3
cpsievert created a comment on an issue on posit-dev/chatlas
Hey, great idea, I'd be happy to meet to chat more and/or review a proposal/PR!
cpsievert opened a draft pull request on posit-dev/py-shiny
feat(Chat): A `.on_user_submit` callback can now access user input through a function parameter
This way you can get the user input directly from the submit callback rather than the `chat.user_input()` method ```python from chatlas import ChatAnthropic from shiny.express import ui cha...cpsievert created a tag on posit-dev/py-shinywidgets
v0.4.1 - Render ipywidgets inside a PyShiny app