summaryrefslogtreecommitdiff
path: root/hexai-lsp.log
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-02-17 22:03:10 +0200
committerPaul Buetow <paul@buetow.org>2026-02-17 22:03:10 +0200
commit5f53f241189af3fceb26395af383809cd4fa3bf0 (patch)
tree4ffabc358ec85ed1da425f72e1357e80f340b2c1 /hexai-lsp.log
parenta8cb28d2257cff652fc4f8a9768b66b9d69fd68a (diff)
fix: improve LinkedIn API posting and authenticationv1.2.4
- Add token validation before using cached credentials to prevent stale token issues - Add proper error handling for image upload initialization with helpful 426 messages - Skip data URI images instead of attempting to download them - Update default LinkedIn API version to 202601 (January 2026) - latest active version - Fix re-authentication flow for expired tokens Amp-Thread-ID: https://ampcode.com/threads/T-019c6d28-4526-7738-b593-9bd584baa478 Co-authored-by: Amp <amp@ampcode.com>
Diffstat (limited to 'hexai-lsp.log')
-rw-r--r--hexai-lsp.log100
1 files changed, 100 insertions, 0 deletions
diff --git a/hexai-lsp.log b/hexai-lsp.log
new file mode 100644
index 0000000..21cb1bb
--- /dev/null
+++ b/hexai-lsp.log
@@ -0,0 +1,100 @@
+2025/09/04 15:40:17 hexai-lsp llm/openai msg[1] role=user size=339 preview=Provide the next likely code to insert at the cursor.
+File: file:///home/paul/git/hexai/PROJECTSTATU…
+2025/09/04 15:40:17 hexai-lsp llm/openai msg[2] role=user size=3342 preview=Additional context:
+# Ideas
+
+## Code quality
+
+* [/] TODO's in the code to be addressed
+* [/] No more…
+2025/09/04 15:40:17 hexai-lsp llm/openai POST https://api.openai.com/v1/chat/completions
+2025/09/04 15:40:18 hexai-lsp lsp completion trigger kind=1 char="" uri=file:///home/paul/git/hexai/PROJECTSTATUS.md line=15 char=75
+2025/09/04 15:40:18 hexai-lsp lsp completion ctx uri=file:///home/paul/git/hexai/PROJECTSTATUS.md line=15 char=75 above="" current="* [ ] Modify the LLM triggers to be more consistenc. E.g. use >>text here>" below="* [X] Include unit test coverage reports" function=""
+2025/09/04 15:40:18 hexai-lsp llm/openai success choice=0 finish=stop size=22 preview=nt with other triggers duration=631.487672ms
+2025/09/04 15:40:18 hexai-lsp lsp llm stats reqs=22 avg_sent=3915 avg_recv=71 sent_total=86132 recv_total=1431 rpm=3.06 sent_per_min=11993 recv_per_min=199
+2025/09/04 15:40:18 hexai-lsp lsp completion llm=requesting model=gpt-4.1
+2025/09/04 15:40:18 hexai-lsp llm/openai chat start model=gpt-4.1 temp=0.20 max_tokens=4000 stop=0 messages=3
+2025/09/04 15:40:18 hexai-lsp llm/openai msg[0] role=system size=306 preview=You are a terse code completion engine. Return only the code to insert, no surrounding prose or back…
+2025/09/04 15:40:18 hexai-lsp llm/openai msg[1] role=user size=340 preview=Provide the next likely code to insert at the cursor.
+File: file:///home/paul/git/hexai/PROJECTSTATU…
+2025/09/04 15:40:18 hexai-lsp llm/openai msg[2] role=user size=3343 preview=Additional context:
+# Ideas
+
+## Code quality
+
+* [/] TODO's in the code to be addressed
+* [/] No more…
+2025/09/04 15:40:18 hexai-lsp llm/openai POST https://api.openai.com/v1/chat/completions
+2025/09/04 15:40:18 hexai-lsp lsp completion trigger kind=1 char="" uri=file:///home/paul/git/hexai/PROJECTSTATUS.md line=15 char=78
+2025/09/04 15:40:18 hexai-lsp lsp completion ctx uri=file:///home/paul/git/hexai/PROJECTSTATUS.md line=15 char=78 above="" current="* [ ] Modify the LLM triggers to be more consistenc. E.g. use >>text here> or" below="* [X] Include unit test coverage reports" function=""
+2025/09/04 15:40:19 hexai-lsp lsp completion llm=requesting model=gpt-4.1
+2025/09/04 15:40:19 hexai-lsp llm/openai chat start model=gpt-4.1 temp=0.20 max_tokens=4000 stop=0 messages=3
+2025/09/04 15:40:19 hexai-lsp llm/openai msg[0] role=system size=306 preview=You are a terse code completion engine. Return only the code to insert, no surrounding prose or back…
+2025/09/04 15:40:19 hexai-lsp llm/openai msg[1] role=user size=343 preview=Provide the next likely code to insert at the cursor.
+File: file:///home/paul/git/hexai/PROJECTSTATU…
+2025/09/04 15:40:19 hexai-lsp llm/openai msg[2] role=user size=3346 preview=Additional context:
+# Ideas
+
+## Code quality
+
+* [/] TODO's in the code to be addressed
+* [/] No more…
+2025/09/04 15:40:19 hexai-lsp llm/openai POST https://api.openai.com/v1/chat/completions
+2025/09/04 15:40:19 hexai-lsp lsp completion trigger kind=1 char="" uri=file:///home/paul/git/hexai/PROJECTSTATUS.md line=15 char=79
+2025/09/04 15:40:19 hexai-lsp lsp completion ctx uri=file:///home/paul/git/hexai/PROJECTSTATUS.md line=15 char=79 above="" current="* [ ] Modify the LLM triggers to be more consistenc. E.g. use >>text here> or >" below="* [X] Include unit test coverage reports" function=""
+2025/09/04 15:40:19 hexai-lsp llm/openai success choice=0 finish=stop size=91 preview=* [ ] Audit all LLM trigger points for consistency and document the standard trigger format duration=1.796370662s
+2025/09/04 15:40:19 hexai-lsp lsp llm stats reqs=24 avg_sent=3921 avg_recv=72 sent_total=94124 recv_total=1522 rpm=3.33 sent_per_min=13077 recv_per_min=211
+2025/09/04 15:40:19 hexai-lsp lsp completion llm=requesting model=gpt-4.1
+2025/09/04 15:40:19 hexai-lsp llm/openai chat start model=gpt-4.1 temp=0.20 max_tokens=4000 stop=0 messages=3
+2025/09/04 15:40:19 hexai-lsp llm/openai msg[0] role=system size=306 preview=You are a terse code completion engine. Return only the code to insert, no surrounding prose or back…
+2025/09/04 15:40:19 hexai-lsp llm/openai msg[1] role=user size=344 preview=Provide the next likely code to insert at the cursor.
+File: file:///home/paul/git/hexai/PROJECTSTATU…
+2025/09/04 15:40:19 hexai-lsp llm/openai msg[2] role=user size=3347 preview=Additional context:
+# Ideas
+
+## Code quality
+
+* [/] TODO's in the code to be addressed
+* [/] No more…
+2025/09/04 15:40:19 hexai-lsp llm/openai POST https://api.openai.com/v1/chat/completions
+2025/09/04 15:40:19 hexai-lsp llm/openai success choice=0 finish=stop size=45 preview=>text here> throughout for inline completions duration=807.205456ms
+2025/09/04 15:40:19 hexai-lsp llm/openai success choice=0 finish=stop size=93 preview=* [ ] Standardize all LLM triggers to use a consistent delimiter format, e.g. `>>text here>>` duration=1.36528963s
+2025/09/04 15:40:19 hexai-lsp lsp llm stats reqs=24 avg_sent=3921 avg_recv=71 sent_total=94124 recv_total=1567 rpm=3.33 sent_per_min=13062 recv_per_min=217
+2025/09/04 15:40:19 hexai-lsp lsp llm stats reqs=24 avg_sent=3921 avg_recv=72 sent_total=94124 recv_total=1660 rpm=3.33 sent_per_min=13062 recv_per_min=230
+2025/09/04 15:40:20 hexai-lsp llm/openai success choice=0 finish=stop size=81 preview=* [ ] Audit all trigger patterns for consistency and document the standard format duration=666.442236ms
+2025/09/04 15:40:20 hexai-lsp lsp llm stats reqs=24 avg_sent=3921 avg_recv=72 sent_total=94124 recv_total=1741 rpm=3.33 sent_per_min=13056 recv_per_min=242
+2025/09/04 15:46:43 hexai-lsp lsp llm enabled provider=openai model=gpt-4.1
+2025/09/04 15:46:43 hexai-lsp lsp client initialized
+2025/09/04 15:46:44 hexai-lsp lsp completion trigger kind=1 char="" uri=file:///home/paul/Notes/Listen/Urlaub.md line=0 char=1
+2025/09/04 15:46:44 hexai-lsp lsp completion ctx uri=file:///home/paul/Notes/Listen/Urlaub.md line=0 char=1 above="" current="#" below="" function=""
+2025/09/04 15:46:45 hexai-lsp lsp completion llm=requesting model=gpt-4.1
+2025/09/04 15:46:45 hexai-lsp llm/openai chat start model=gpt-4.1 temp=0.20 max_tokens=4000 stop=0 messages=3
+2025/09/04 15:46:45 hexai-lsp llm/openai msg[0] role=system size=306 preview=You are a terse code completion engine. Return only the code to insert, no surrounding prose or back…
+2025/09/04 15:46:45 hexai-lsp llm/openai msg[1] role=user size=221 preview=Provide the next likely code to insert at the cursor.
+File: file:///home/paul/Notes/Listen/Urlaub.md…
+2025/09/04 15:46:45 hexai-lsp llm/openai msg[2] role=user size=22 preview=Additional context:
+#
+
+2025/09/04 15:46:45 hexai-lsp llm/openai POST https://api.openai.com/v1/chat/completions
+2025/09/04 15:46:46 hexai-lsp llm/openai success choice=0 finish=stop size=6 preview=Urlaub duration=970.760029ms
+2025/09/04 15:46:46 hexai-lsp lsp llm stats reqs=1 avg_sent=549 avg_recv=6 sent_total=549 recv_total=6 rpm=27.74 sent_per_min=15228 recv_per_min=166
+2025/09/04 15:46:59 hexai-lsp lsp llm enabled provider=openai model=gpt-4.1
+2025/09/04 15:46:59 hexai-lsp lsp client initialized
+2025/09/04 15:47:02 hexai-lsp lsp completion trigger kind=1 char="" uri=file:///home/paul/Notes/Listen/Vacation.md line=0 char=0
+2025/09/04 15:47:02 hexai-lsp lsp completion ctx uri=file:///home/paul/Notes/Listen/Vacation.md line=0 char=0 above="" current="" below="" function=""
+2025/09/04 15:47:02 hexai-lsp lsp completion llm=requesting model=gpt-4.1
+2025/09/04 15:47:02 hexai-lsp llm/openai chat start model=gpt-4.1 temp=0.20 max_tokens=4000 stop=0 messages=3
+2025/09/04 15:47:02 hexai-lsp llm/openai msg[0] role=system size=306 preview=You are a terse code completion engine. Return only the code to insert, no surrounding prose or back…
+2025/09/04 15:47:02 hexai-lsp llm/openai msg[1] role=user size=222 preview=Provide the next likely code to insert at the cursor.
+File: file:///home/paul/Notes/Listen/Vacation.…
+2025/09/04 15:47:02 hexai-lsp llm/openai msg[2] role=user size=21 preview=Additional context:
+
+
+2025/09/04 15:47:02 hexai-lsp llm/openai POST https://api.openai.com/v1/chat/completions
+2025/09/04 15:47:04 hexai-lsp llm/openai success choice=0 finish=stop size=126 preview=- Book flights
+- Reserve hotel
+- Create itinerary
+- Pack essentials
+- Arrange transportation
+- Set v… duration=1.350494698s
+2025/09/04 15:47:04 hexai-lsp lsp llm stats reqs=1 avg_sent=549 avg_recv=126 sent_total=549 recv_total=126 rpm=14.55 sent_per_min=7987 recv_per_min=1833