wip bugged
This commit is contained in:
10
config.toml
10
config.toml
@@ -14,18 +14,20 @@ paths = [
|
|||||||
"MainContext.md",
|
"MainContext.md",
|
||||||
"C:/projects/manual_slop/shell_runner.py",
|
"C:/projects/manual_slop/shell_runner.py",
|
||||||
"C:/projects/manual_slop/session_logger.py",
|
"C:/projects/manual_slop/session_logger.py",
|
||||||
"C:/projects/manual_slop/docs/anthropic_api_files.md",
|
"C:/projects/manual_slop/file_cache.py",
|
||||||
]
|
]
|
||||||
|
|
||||||
[screenshots]
|
[screenshots]
|
||||||
base_dir = "C:/Users/Ed/scoop/apps/sharex/current/ShareX/Screenshots/2026-02"
|
base_dir = "C:/Users/Ed/scoop/apps/sharex/current/ShareX/Screenshots/2026-02"
|
||||||
paths = []
|
paths = [
|
||||||
|
"C:/Users/Ed/scoop/apps/sharex/current/ShareX/Screenshots/2026-02/python_2026-02-21_16-38-51.png",
|
||||||
|
]
|
||||||
|
|
||||||
[discussion]
|
[discussion]
|
||||||
history = [
|
history = [
|
||||||
"[User]\nAdd support for properly handling files that we have in config with anthropics api (your context will have documentation reguarding it). This will allow us to free up the main markdown file were sending as a message.\nWe also want to make sure the messaging of that giant markdown is chunked as anthropic does have an upper limit per messages.",
|
"[User]\nAdd support for properly handling files that we have in config with anthropics api (your context will have documentation reguarding it). This will allow us to free up the main markdown file were sending as a message.\nWe also want to make sure the messaging of that giant markdown is chunked as anthropic does have an upper limit per messages.",
|
||||||
"[Claude]\nGood. Now the big rewrite of `ai_client.py`. The strategy:\n\n- Add a new `_send_anthropic_files` path that uses `file_cache.get_file_id()` to upload files individually as `document`/`image` content blocks, keeping the context message lean\n- The fallback (and also for oversized content) uses chunked text blocks — split the markdown into ≤180k-char chunks (well under the ~200k token limit with headroom for overhead), each sent as a separate `text` content block with `cache_control` on the last one\n- `send()` now accepts an optional `file_items` parameter from aggregate\n- `reset_session()` also resets the file_cache client",
|
"[AI]\nGood. Now the big rewrite of `ai_client.py`. The strategy:\n\n- Add a new `_send_anthropic_files` path that uses `file_cache.get_file_id()` to upload files individually as `document`/`image` content blocks, keeping the context message lean\n- The fallback (and also for oversized content) uses chunked text blocks — split the markdown into ≤180k-char chunks (well under the ~200k token limit with headroom for overhead), each sent as a separate `text` content block with `cache_control` on the last one\n- `send()` now accepts an optional `file_items` parameter from aggregate\n- `reset_session()` also resets the file_cache client",
|
||||||
"[User]\nI will check if this works now....",
|
"[User]\nI will check if this works now.... To test my next message will be a new task naturally...",
|
||||||
]
|
]
|
||||||
|
|
||||||
[ai]
|
[ai]
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ DockId=0x00000005,0
|
|||||||
|
|
||||||
[Window][###30]
|
[Window][###30]
|
||||||
Pos=0,654
|
Pos=0,654
|
||||||
Size=549,742
|
Size=549,696
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000025,0
|
DockId=0x00000025,0
|
||||||
|
|
||||||
@@ -112,8 +112,8 @@ Collapsed=0
|
|||||||
DockId=0x00000012,2
|
DockId=0x00000012,2
|
||||||
|
|
||||||
[Window][###100]
|
[Window][###100]
|
||||||
Pos=2622,0
|
Pos=2821,0
|
||||||
Size=1218,1412
|
Size=1019,1412
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000024,0
|
DockId=0x00000024,0
|
||||||
|
|
||||||
@@ -210,7 +210,7 @@ Collapsed=0
|
|||||||
|
|
||||||
[Window][###115]
|
[Window][###115]
|
||||||
Pos=551,0
|
Pos=551,0
|
||||||
Size=847,2137
|
Size=1275,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,0
|
DockId=0x00000012,0
|
||||||
|
|
||||||
@@ -221,26 +221,26 @@ Collapsed=0
|
|||||||
DockId=0x00000022,0
|
DockId=0x00000022,0
|
||||||
|
|
||||||
[Window][###85]
|
[Window][###85]
|
||||||
Pos=1400,0
|
Pos=1828,0
|
||||||
Size=1220,1412
|
Size=991,1412
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x0000001F,0
|
DockId=0x0000001F,0
|
||||||
|
|
||||||
[Window][###92]
|
[Window][###92]
|
||||||
Pos=551,0
|
Pos=551,0
|
||||||
Size=847,2137
|
Size=1275,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,2
|
DockId=0x00000012,2
|
||||||
|
|
||||||
[Window][###107]
|
[Window][###107]
|
||||||
Pos=1400,1414
|
Pos=1828,1414
|
||||||
Size=2440,723
|
Size=2012,723
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x0000001A,0
|
DockId=0x0000001A,0
|
||||||
|
|
||||||
[Window][###109]
|
[Window][###109]
|
||||||
Pos=551,0
|
Pos=551,0
|
||||||
Size=847,2137
|
Size=1275,2137
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000012,1
|
DockId=0x00000012,1
|
||||||
|
|
||||||
@@ -322,9 +322,9 @@ DockId=0x00000026,0
|
|||||||
|
|
||||||
[Window][###82]
|
[Window][###82]
|
||||||
Pos=2097,0
|
Pos=2097,0
|
||||||
Size=1743,1787
|
Size=1743,1162
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x0000001F,1
|
DockId=0x0000001F,0
|
||||||
|
|
||||||
[Window][###89]
|
[Window][###89]
|
||||||
Pos=551,0
|
Pos=551,0
|
||||||
@@ -333,16 +333,16 @@ Collapsed=0
|
|||||||
DockId=0x00000012,0
|
DockId=0x00000012,0
|
||||||
|
|
||||||
[Window][###97]
|
[Window][###97]
|
||||||
Pos=2097,1789
|
Pos=2097,1649
|
||||||
Size=1743,348
|
Size=1743,488
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x00000020,0
|
DockId=0x00000028,0
|
||||||
|
|
||||||
[Window][###104]
|
[Window][###104]
|
||||||
Pos=2097,0
|
Pos=2097,1164
|
||||||
Size=1743,1787
|
Size=1743,483
|
||||||
Collapsed=0
|
Collapsed=0
|
||||||
DockId=0x0000001F,0
|
DockId=0x00000027,0
|
||||||
|
|
||||||
[Docking][Data]
|
[Docking][Data]
|
||||||
DockSpace ID=0x7C6B3D9B Window=0xA87D555D Pos=0,0 Size=3840,2137 Split=X Selected=0x40484D8F
|
DockSpace ID=0x7C6B3D9B Window=0xA87D555D Pos=0,0 Size=3840,2137 Split=X Selected=0x40484D8F
|
||||||
@@ -361,18 +361,20 @@ DockSpace ID=0x7C6B3D9B Window=0xA87D555D Pos=0,0 Size=3840,21
|
|||||||
DockNode ID=0x00000001 Parent=0x00000004 SizeRef=1060,1161 Split=Y Selected=0x40484D8F
|
DockNode ID=0x00000001 Parent=0x00000004 SizeRef=1060,1161 Split=Y Selected=0x40484D8F
|
||||||
DockNode ID=0x00000007 Parent=0x00000001 SizeRef=595,492 Selected=0xBA13FCDE
|
DockNode ID=0x00000007 Parent=0x00000001 SizeRef=595,492 Selected=0xBA13FCDE
|
||||||
DockNode ID=0x00000008 Parent=0x00000001 SizeRef=595,1643 Split=X Selected=0x40484D8F
|
DockNode ID=0x00000008 Parent=0x00000001 SizeRef=595,1643 Split=X Selected=0x40484D8F
|
||||||
DockNode ID=0x0000000F Parent=0x00000008 SizeRef=1544,2137 Split=Y Selected=0x07E8375F
|
DockNode ID=0x0000000F Parent=0x00000008 SizeRef=1275,2137 Split=Y Selected=0x07E8375F
|
||||||
DockNode ID=0x00000011 Parent=0x0000000F SizeRef=835,425 Selected=0x72F373AE
|
DockNode ID=0x00000011 Parent=0x0000000F SizeRef=835,425 Selected=0x72F373AE
|
||||||
DockNode ID=0x00000012 Parent=0x0000000F SizeRef=835,1710 Selected=0x07E8375F
|
DockNode ID=0x00000012 Parent=0x0000000F SizeRef=835,1710 Selected=0x8B149E2A
|
||||||
DockNode ID=0x00000010 Parent=0x00000008 SizeRef=1743,2137 Split=Y Selected=0xCE7F911A
|
DockNode ID=0x00000010 Parent=0x00000008 SizeRef=2012,2137 Split=Y Selected=0xCE7F911A
|
||||||
DockNode ID=0x00000013 Parent=0x00000010 SizeRef=1967,1690 Split=X Selected=0xCE7F911A
|
DockNode ID=0x00000013 Parent=0x00000010 SizeRef=1967,1690 Split=X Selected=0xCE7F911A
|
||||||
DockNode ID=0x00000017 Parent=0x00000013 SizeRef=1314,1749 Selected=0x4B454E0B
|
DockNode ID=0x00000017 Parent=0x00000013 SizeRef=1314,1749 Selected=0x4B454E0B
|
||||||
DockNode ID=0x00000018 Parent=0x00000013 SizeRef=1309,1749 Split=Y Selected=0x88A8C2FF
|
DockNode ID=0x00000018 Parent=0x00000013 SizeRef=1309,1749 Split=Y Selected=0x88A8C2FF
|
||||||
DockNode ID=0x00000019 Parent=0x00000018 SizeRef=2440,1412 Split=X Selected=0x88A8C2FF
|
DockNode ID=0x00000019 Parent=0x00000018 SizeRef=2440,1412 Split=X Selected=0x88A8C2FF
|
||||||
DockNode ID=0x00000023 Parent=0x00000019 SizeRef=1220,737 Split=Y Selected=0x7D28643F
|
DockNode ID=0x00000023 Parent=0x00000019 SizeRef=991,737 Split=Y Selected=0x7D28643F
|
||||||
DockNode ID=0x0000001F Parent=0x00000023 SizeRef=2440,1787 CentralNode=1 Selected=0x4F935A1E
|
DockNode ID=0x0000001F Parent=0x00000023 SizeRef=2440,1162 CentralNode=1 Selected=0xFDB3860E
|
||||||
DockNode ID=0x00000020 Parent=0x00000023 SizeRef=2440,348 Selected=0x4C2F06CB
|
DockNode ID=0x00000020 Parent=0x00000023 SizeRef=2440,973 Split=Y Selected=0x4C2F06CB
|
||||||
DockNode ID=0x00000024 Parent=0x00000019 SizeRef=1218,737 Selected=0x88A8C2FF
|
DockNode ID=0x00000027 Parent=0x00000020 SizeRef=1743,483 Selected=0x7D28643F
|
||||||
|
DockNode ID=0x00000028 Parent=0x00000020 SizeRef=1743,488 Selected=0x4C2F06CB
|
||||||
|
DockNode ID=0x00000024 Parent=0x00000019 SizeRef=1019,737 Selected=0x88A8C2FF
|
||||||
DockNode ID=0x0000001A Parent=0x00000018 SizeRef=2440,723 Selected=0x3A881EEF
|
DockNode ID=0x0000001A Parent=0x00000018 SizeRef=2440,723 Selected=0x3A881EEF
|
||||||
DockNode ID=0x00000014 Parent=0x00000010 SizeRef=1967,445 Selected=0xC36FF36B
|
DockNode ID=0x00000014 Parent=0x00000010 SizeRef=1967,445 Selected=0xC36FF36B
|
||||||
DockNode ID=0x00000002 Parent=0x00000004 SizeRef=2227,1161 Split=X Selected=0x714F2F7B
|
DockNode ID=0x00000002 Parent=0x00000004 SizeRef=2227,1161 Split=X Selected=0x714F2F7B
|
||||||
|
|||||||
Reference in New Issue
Block a user