feat: make conversation analysis durable and serial - #308
Closed
kinpoe-ray wants to merge 6 commits into
Closed
Conversation
Allow the Anthropic provider to target third-party Anthropic-compatible endpoints (e.g. Zhipu BigModel's /api/anthropic) via an optional baseUrl. Defaults to the official https://api.anthropic.com when unset, so existing behavior is unchanged. Changes: - cli/src/analysis/provider-runner.ts: makeAnthropicChat accepts baseUrl - server/src/llm/providers/anthropic.ts: createAnthropicClient accepts baseUrl - server/src/llm/client.ts: pass config.baseUrl to anthropic client - cli/src/commands/config.ts: interactive wizard prompts for optional baseUrl on anthropic/openai/gemini (consolidates ollama/llamacpp prompts) The LLMProviderConfig.baseUrl field already existed (previously only used by ollama/llamacpp); no type changes needed.
code-insights has no built-in rate limiting for sequential LLM calls, which triggers account rate limits (HTTP 1302) on providers with tight concurrency caps (e.g. Zhipu BigModel). This script analyzes unanalyzed sessions one at a time with a fixed interval between calls and exponential backoff on rate-limit errors. Workaround until upstream adds throttling. Usage: ./throttled-analyze.sh [interval_seconds] [lookback_days]
kinpoe-ray
force-pushed
the
feature/anthropic-baseurl
branch
2 times, most recently
from
July 18, 2026 10:27
9621291 to
999aa1f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Verification
pnpm test(automation suites; CLI 692/692; server 599/599; dashboard 15/15)pnpm build(CLI, server, dashboard)git diff --check, shell syntax checks, plist lint, lock/signal/process-tree smoke testsPlatform note
Windows process-tree and process-birth behavior is covered by win32 simulation and static review; no real Windows host was available in this run.