Repository navigation
Commit e9cfbb8
Remove an unused schema and complete the Fin Agent event schemas (#771)
* Remove an unused schema and complete the Fin Agent event schemas
- Remove the unused `metadata` schema, an alias of `conversation_part_metadata` that nothing references.
- Add the `thinking` status and the `/fin/escalate` escalation reason to `fin_agent_status_updated_event`.
- Add the `complete` status to `fin_agent_replied_event`.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Say which escalation reasons each Fin Agent endpoint sends
- Say that /fin/ask can report the escalation rule reasons, "Routed to
team" and "Conversation finished without resolution".
- Say that "Escalation requested by user" is sent whenever Fin decides
to hand over, not only when the user asks for a human.
- Say that every escalation during /fin/procedures/{procedure_id}/run
reports "Escalation requested by user".
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Describe how /fin/ask can escalate
- Say /fin/ask can report any of the Fin-decided escalation reasons,
because escalation rules still apply and the conversation can still
be routed to a team or finish without resolution.
- Replace "never escalates" in the Ask descriptions: Fin does not decide
to hand over itself, but escalation rules can still match.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
* Tighten the escalation reason description for Ask and procedures
- Say "Escalation requested by user" also follows an escalation rule
match, as a second escalated event after the rule's reason.
- Say that while a procedure is running, every escalation Fin decides
on reports it.
- Say that on an Ask it normally only follows an escalation rule match.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 5.5 (1M context) <noreply@anthropic.com>1 parent e01e083 commit e9cfbb8
2 files changed
Lines changed: 54 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34004 | 34004 | | |
34005 | 34005 | | |
34006 | 34006 | | |
34007 | | - | |
| 34007 | + | |
34008 | 34008 | | |
34009 | 34009 | | |
34010 | 34010 | | |
| |||
34253 | 34253 | | |
34254 | 34254 | | |
34255 | 34255 | | |
34256 | | - | |
34257 | | - | |
34258 | | - | |
34259 | | - | |
| 34256 | + | |
| 34257 | + | |
| 34258 | + | |
| 34259 | + | |
| 34260 | + | |
34260 | 34261 | | |
34261 | 34262 | | |
34262 | 34263 | | |
| |||
47849 | 47850 | | |
47850 | 47851 | | |
47851 | 47852 | | |
47852 | | - | |
47853 | | - | |
47854 | 47853 | | |
47855 | 47854 | | |
47856 | 47855 | | |
| |||
48746 | 48745 | | |
48747 | 48746 | | |
48748 | 48747 | | |
| 48748 | + | |
48749 | 48749 | | |
48750 | 48750 | | |
48751 | 48751 | | |
48752 | 48752 | | |
48753 | 48753 | | |
48754 | 48754 | | |
| 48755 | + | |
48755 | 48756 | | |
48756 | 48757 | | |
48757 | 48758 | | |
| |||
48762 | 48763 | | |
48763 | 48764 | | |
48764 | 48765 | | |
48765 | | - | |
| 48766 | + | |
| 48767 | + | |
| 48768 | + | |
| 48769 | + | |
| 48770 | + | |
| 48771 | + | |
| 48772 | + | |
| 48773 | + | |
| 48774 | + | |
| 48775 | + | |
48766 | 48776 | | |
48767 | 48777 | | |
48768 | 48778 | | |
48769 | 48779 | | |
48770 | 48780 | | |
48771 | | - | |
| 48781 | + | |
| 48782 | + | |
| 48783 | + | |
| 48784 | + | |
| 48785 | + | |
| 48786 | + | |
| 48787 | + | |
48772 | 48788 | | |
48773 | 48789 | | |
48774 | 48790 | | |
| |||
48874 | 48890 | | |
48875 | 48891 | | |
48876 | 48892 | | |
| 48893 | + | |
48877 | 48894 | | |
48878 | 48895 | | |
48879 | 48896 | | |
48880 | 48897 | | |
| 48898 | + | |
48881 | 48899 | | |
48882 | 48900 | | |
48883 | 48901 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5895 | 5895 | | |
5896 | 5896 | | |
5897 | 5897 | | |
5898 | | - | |
| 5898 | + | |
5899 | 5899 | | |
5900 | 5900 | | |
5901 | 5901 | | |
| |||
6144 | 6144 | | |
6145 | 6145 | | |
6146 | 6146 | | |
6147 | | - | |
6148 | | - | |
6149 | | - | |
6150 | | - | |
| 6147 | + | |
| 6148 | + | |
| 6149 | + | |
| 6150 | + | |
| 6151 | + | |
6151 | 6152 | | |
6152 | 6153 | | |
6153 | 6154 | | |
| |||
42228 | 42229 | | |
42229 | 42230 | | |
42230 | 42231 | | |
42231 | | - | |
42232 | | - | |
42233 | 42232 | | |
42234 | 42233 | | |
42235 | 42234 | | |
| |||
42802 | 42801 | | |
42803 | 42802 | | |
42804 | 42803 | | |
| 42804 | + | |
42805 | 42805 | | |
42806 | 42806 | | |
42807 | 42807 | | |
42808 | 42808 | | |
42809 | 42809 | | |
42810 | 42810 | | |
| 42811 | + | |
42811 | 42812 | | |
42812 | 42813 | | |
42813 | 42814 | | |
| |||
42818 | 42819 | | |
42819 | 42820 | | |
42820 | 42821 | | |
42821 | | - | |
| 42822 | + | |
| 42823 | + | |
| 42824 | + | |
| 42825 | + | |
| 42826 | + | |
| 42827 | + | |
| 42828 | + | |
| 42829 | + | |
| 42830 | + | |
| 42831 | + | |
42822 | 42832 | | |
42823 | 42833 | | |
42824 | 42834 | | |
42825 | 42835 | | |
42826 | 42836 | | |
42827 | | - | |
| 42837 | + | |
| 42838 | + | |
| 42839 | + | |
| 42840 | + | |
| 42841 | + | |
| 42842 | + | |
| 42843 | + | |
42828 | 42844 | | |
42829 | 42845 | | |
42830 | 42846 | | |
| |||
42929 | 42945 | | |
42930 | 42946 | | |
42931 | 42947 | | |
| 42948 | + | |
42932 | 42949 | | |
42933 | 42950 | | |
42934 | 42951 | | |
42935 | 42952 | | |
| 42953 | + | |
42936 | 42954 | | |
42937 | 42955 | | |
42938 | 42956 | | |
| |||
0 commit comments