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.
7603d0bbcf
Tweak the prompt so it's clearer
2025-08-13 15:14:12 +02:00
Stanko K.R.
8a8888c3ef
Tidy up #ask & #respond
2025-08-13 15:14:12 +02:00
Stanko K.R.
c95e8678a9
Extract #all_emoji? to a Rails ext
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
Jason Zimdars
aa13853ae4
Add a third, "On deck" column in Collections
2025-08-12 17:58:12 -05:00
Jason Zimdars
e8dc14fda7
Simplify prompt, adjust styles to move away from bullet format
2025-08-11 18:03:48 -05:00
Jorge Manrubia
278a8f9f96
Remove insight response (remaining stuff from the /insight experimental command)
2025-08-11 14:51:40 +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
8addd4bd50
Remove comment
2025-08-11 12:42:31 +02:00
Mike Dalessio
9bdc273c76
Prefer Account#slug to Account.script_name
...
Caching the script name in a class instance variable seemed like a bug
to me.
2025-08-09 14:27:41 -04:00
Mike Dalessio
9db98366c3
Set up a "cleanslate" seed that has no cards and no collections
...
and only a single user, david@37signals.com
ref: https://fizzy.37signals.com/5986089/collections/7/cards/1318
2025-08-06 17:35:55 -04:00
Mike Dalessio
57269b1b9c
Allow local authentication with LOCAL_AUTHENTICATION=1
...
You can touch `tmp/local-auth.txt` to persist this setting.
2025-08-06 17:05:35 -04:00
Mike Dalessio
0b938a8375
Account.signal_account is optional again
...
Also delete the no-op user password migration that I accidentally
committed last month.
2025-08-06 14:04:42 -04:00
Jason Zimdars
9362b711d8
Adjust prompt
2025-08-05 16:02:11 -05:00
Jason Zimdars
b30a329a1a
Surface some fun user activity
2025-07-31 14:30:08 -05:00
Jason Zimdars
7d55069d88
Adjust prompt
2025-07-31 10:30:00 -05:00
Jason Zimdars
b795a43d5c
Simplify the prompt, try a top 5 points format
2025-07-30 18:14:37 -05:00
Jason Zimdars
0f3aa31943
Bold names, ensure summaries generate correctly structured collection links
2025-07-29 11:57:23 -05:00
Andy Smith
ece1751538
Merge pull request #805 from basecamp/bold-event-actions
...
Update system message to highlight verbs
2025-07-28 13:23:34 -05:00
Andy Smith
a213ac666e
Revert sentence structure, but keep bold text
2025-07-28 12:24:49 -05:00
Jason Zimdars
938a84ea7c
Use the same excerpt formatting as Latest Activity events
2025-07-28 11:22:15 -05:00
Jason Zimdars
3479129721
Update prompt
2025-07-25 10:07:49 -05:00
Jorge Manrubia
711d9207ed
Little refactor + missing test
2025-07-25 10:04:07 +02:00
Jorge Manrubia
fbf003d7ec
Add comment
2025-07-25 06:32:40 +02:00
Andy Smith
8e795f183d
Update system message to highlight verbs
2025-07-24 13:42:19 -05:00
Jorge Manrubia
18597aabad
Make sure we sort closed cards by recency by default
...
So that the filter used for the insight context fetches the most recent cards when using indexed_by closed
2025-07-24 17:46:40 +02:00
Jorge Manrubia
95e065a0c4
Reduce the injected load a bit
2025-07-24 17:33:40 +02:00
Jorge Manrubia
523f3f0acb
Set some hard limits on the prompt lenghts we inject
2025-07-24 17:32:50 +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
b2ee79bbd0
Format
2025-07-24 16:48:06 +02:00
Jorge Manrubia
e61ee25b47
Suite passing
2025-07-24 16:48:05 +02:00
Jorge Manrubia
4574c0d85c
Include stage information about the card
2025-07-24 16:48:05 +02:00
Jorge Manrubia
ba97ec05d6
Remove transaction as the AI commands can hold the transaction for too long
2025-07-24 16:48:05 +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
8bb7783215
Extract "prompt generation" logic to models for events, comments and cards
...
So that we can reuse in other scenarios
2025-07-24 16:48:03 +02:00
Jorge Manrubia
dd28e3d1e9
Replace special value with just not asuming that filters are about open cards by default
2025-07-24 16:48:03 +02:00
Jorge Manrubia
9d0887f6bd
Use a workaround with a special indexed_by filter to "query all"
2025-07-24 16:48:02 +02:00