Jorge Manrubia
d16e0c942c
Fix test and adjust prompts to reflect the column
2025-09-28 20:49:25 +02:00
Jorge Manrubia
3d8437bd5f
Truncate summaries to keep within API limits
...
https://fizzy.37signals.com/5986089/cards/1739
2025-09-15 16:14:29 +02:00
Jorge Manrubia
4e72566856
Flatten card resource
...
We only need the parent collection for creating cards. Carrying it in the
rest of actions is a hassle.
2025-09-10 11:24:23 +02:00
Jorge Manrubia
1176857ec3
Remove unused methods
2025-09-02 17:22:53 +02:00
Jorge Manrubia
744faf12c0
Extract "response cost" object to unify calculations around LLM usage costs
2025-08-27 13:18:41 +02:00
Stanko K.R.
fc0fccef11
Show only published cards to Fizzy Ask
2025-08-26 11:42:12 +02:00
Stanko K.R.
6b89aa6805
Improve naming & remove money accessors
2025-08-25 10:30:43 +02:00
Stanko K.R.
4505f80b8c
Remove unused scope
2025-08-25 10:29:03 +02:00
Stanko K.R.
abad369c6a
Introduce a Quota and Money object
2025-08-25 10:29:00 +02:00
Stanko K.R.
9b98f91b7f
Use if to improve readability
2025-08-14 15:47:13 +02:00
Stanko K.R.
eb6d61806b
Simplify allowed direction check
2025-08-14 15:46:09 +02:00
Stanko K.R.
10728e35ef
Create scopes for filtering comment by user or system
2025-08-14 14:32:10 +02:00
Stanko K.R.
221f8434d8
Remove extra spaces
2025-08-14 14:25:27 +02:00
Stanko K.R.
0807337ede
Add test for the list collections tool
2025-08-13 15:14:12 +02:00
Stanko K.R.
33daa866f3
Test the list cards tool
2025-08-13 15:14:12 +02:00
Stanko K.R.
c1bd68d0e6
Add tests for OrderClause
2025-08-13 15:14:12 +02:00
Stanko K.R.
7f38586bda
Fix crash when searching
2025-08-13 15:14:12 +02:00
Stanko K.R.
d0734775c3
Reorganize tools
2025-08-13 15:14:12 +02:00
Stanko K.R.
f6279b87cf
Clean up filtering and serialization for tools
2025-08-13 15:14:12 +02:00
Stanko K.R.
8d323bb0aa
Extract card filtering
2025-08-13 15:14:12 +02:00
Stanko K.R.
0e92447719
Partially fix tool URLs
2025-08-13 15:14:12 +02:00
Stanko K.R.
51f6326404
Add tenant to URLs
2025-08-13 15:14:12 +02:00
Stanko K.R.
e49c7cb1cb
Make sending messages feel snappy
2025-08-13 15:14:12 +02:00
Stanko K.R.
13eeb8574d
Add the ask command
2025-08-13 15:14:12 +02:00
Jorge Manrubia
588f03e927
Remove insight experimental code
...
Also, downgrade LLM for commands to mini. It's much cheaper and I only upgraded because of the
interpretation complexities that the insight command introduced.
We are implementing a much better approach with Ask.
2025-08-11 13:40:56 +02:00
Jorge Manrubia
0429dc28f3
Fix for injecting the current context
...
This is a workaround to make the prototype work. We create a context on the fly to execute AI-derived
commands. When those require listing cards, we ended up losing the notion of "being on a perma screen".
2025-07-24 17:27:32 +02:00
Jorge Manrubia
5ad2d09eae
Move the hack to fetch completed cards to the insight command logic
...
We need to rework this as part of the filters revamp. "indexed_by" being
a mix of filters keeps biting us.
2025-07-24 16:48:05 +02:00
Jorge Manrubia
fc26329daf
Restore default to open cards. Use special "all" value instead.
...
The change could have side effects (e.g: when running commands).
This also include further changes.
2025-07-24 16:48:04 +02:00
Jorge Manrubia
018c746d2a
Make the prompt smarter about the current context to make better calls
2025-07-24 16:48:03 +02:00
Jorge Manrubia
541f24ab0b
Limit the tokens we send for embeds
...
See insight by Donal here https://github.com/basecamp/fizzy/pull/483#discussion_r2084766023
2025-05-16 16:39:18 +02:00