Mike Dalessio
f4f38015dd
Merge pull request #993 from basecamp/flavorjones/clean-up-unused-routes-1
...
refactor: remove unused routes associated with "resource :account"
2025-08-28 12:19:05 -04:00
Mike Dalessio
5f4ee049c6
Fix up hotkeys
...
ref: https://fizzy.37signals.com/5986089/collections/2/cards/1452
2025-08-28 11:47:45 -04:00
Mike Dalessio
28c4cc7cee
test: backfill hotkeys helper tests
...
and remove support for the unused use case of comma-delimited-strings
2025-08-28 11:44:51 -04:00
Mike Dalessio
87d81e608b
refactor: remove unused routes associated with "resource :account"
...
- Drop from 313 unused routes to 306 unused routes
- Use a namespace for the account-related resource routes
- Controllers are nested under the "Account" module now
- Move views from "accounts/" to "account/"
2025-08-28 11:12:24 -04:00
Mike Dalessio
e26c1db5c5
test: backfill account route tests to prepare for refactor
2025-08-28 11:01:52 -04:00
Jorge Manrubia
744faf12c0
Extract "response cost" object to unify calculations around LLM usage costs
2025-08-27 13:18:41 +02:00
Jorge Manrubia
81d6df3616
Remove comments from card prompts
...
We don't use to_prompt to generate AI responses anymore, only for events. Grabbing
all the comments don't make as much sense, and I'm sure it is quite expensive
2025-08-27 09:56:13 +02:00
Jorge Manrubia
d2dbbe8651
Merge pull request #978 from basecamp/summary-costs
...
Track costs of generating AI summaries
2025-08-27 09:43:17 +02:00
Jorge Manrubia
853a75a54f
Rename "cost_microcents" => "cost_in_microcents"
2025-08-27 09:38:23 +02:00
Stanko Krtalić
0f467be316
Make Fizzy Ask respond with an error message when a response fails to generate ( #975 )
2025-08-27 08:59:27 +02:00
Stanko K.R.
84551d60de
Re-record message response VCR cassette
2025-08-26 12:31:21 +02:00
Stanko K.R.
fc0fccef11
Show only published cards to Fizzy Ask
2025-08-26 11:42:12 +02:00
Stanko K.R.
c3e0deb57f
Remove test for now private method
2025-08-25 10:32:33 +02:00
Stanko K.R.
6b89aa6805
Improve naming & remove money accessors
2025-08-25 10:30:43 +02:00
Stanko K.R.
abad369c6a
Introduce a Quota and Money object
2025-08-25 10:29:00 +02:00
Stanko K.R.
cb5fe7c4f8
Add spend limits to conversations
2025-08-25 10:24:15 +02:00
Stanko Krtalić
78fdabf62f
Merge pull request #932 from basecamp/fizzy-bar-v1
...
Fizzy bar V1
2025-08-25 07:16:42 +02:00
Stanko K.R.
f87a403107
Fix PR review comments
2025-08-22 07:33:26 +02:00
Stanko K.R.
89af9066d3
Remove Fizzy Do command logic
2025-08-22 07:33:24 +02:00
Jorge Manrubia
c8569ce8b9
Split indexed_by into two filters: indexed by and sort by
...
https://3.basecamp.com/2914079/buckets/37331921/todos/8877489555#__recording_8987808963
2025-08-21 19:12:54 +02:00
Mike Dalessio
a711975904
Turn off attachment previews on large files
...
ref: https://fizzy.37signals.com/5986089/collections/7/cards/1302
2025-08-19 12:16:24 -04:00
Jason Zimdars
5cf119cbd1
Adjust prompt to force proper link construction; recognize people milestones and events
2025-08-18 10:00:16 -05:00
Jorge Manrubia
fa82dc0384
Remove code related to Fizzy Do /command support and filtering
...
https://3.basecamp.com/2914079/buckets/37331921/messages/8961776532
2025-08-18 13:41:20 +02:00
Mike Dalessio
e84cd529d5
The "sign out" button now clears the Launchpad login.
...
ref: https://fizzy.37signals.com/5986089/collections/2/cards/1382
2025-08-15 12:25:10 -04:00
Stanko Krtalić
9a02716a46
Merge pull request #857 from basecamp/fizzy-ask
...
Fizzy Ask
2025-08-15 08:40:28 +02:00
Jason Zimdars
acfe89ca52
Update prompt to render links and use more casual language
2025-08-14 14:32:53 -05:00
Stanko K.R.
4f219fadf3
Add test for the price calculation
2025-08-13 15:14:12 +02:00
Stanko K.R.
a44cff5e15
Re-record VCR cassette
2025-08-13 15:14:12 +02:00
Stanko K.R.
aa11c82e1c
Add test for the list comments tool
2025-08-13 15:14:12 +02:00
Stanko K.R.
0807337ede
Add test for the list collections tool
2025-08-13 15:14:12 +02:00
Stanko K.R.
8574e53d83
Add test for the list users 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.
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.
67c9bdc3d9
Add controller tests for conversations and messages
2025-08-13 15:14:12 +02:00
Stanko K.R.
db4415d6c7
Add tests for conversations and messages
2025-08-13 15:14:12 +02:00
Stanko K.R.
09739fdba4
Add tests for the Conversation object
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
Mike Dalessio
d2da1dcc06
Make ExcerptHelper work for String inputs
2025-08-11 17:38:24 -04:00
Mike Dalessio
d2a0196fe2
Backfill tests for ExcerptHelper
2025-08-11 17:33:19 -04: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
5540b0fd1b
Make sure session cookie has the correct path for the tenant
...
ref: https://fizzy.37signals.com/5986089/collections/7/cards/1234
2025-08-10 18:53:52 -04:00
Mike Dalessio
360e22feb0
Move testing setup for path-based tenanting into test helper
...
This was previously in the AR::Tenanted branch we were using, but
feels like it doesn't belong in the gem.
2025-08-10 18:53:33 -04: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
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