WeKnora/internal/models/chat
wizardchen 6fb858105a feat(llm): add prompt-cache observability and wiki cache-friendly prompts
Normalize provider-specific cache counters into TokenUsage, propagate call
purpose and prefix fingerprints through context for logging and Langfuse,
and restructure wiki page-modify prompts with warmup/singleflight to improve
prefix cache hit rates during reduce batches.
2026-07-23 19:17:30 +08:00
..
anthropic.go
…
anthropic_test.go
…
chat.go
…
concurrency_wrapper.go
…
concurrency_wrapper_test.go
…
config_from_model_test.go
…
image_resolve.go
…
json_field_extractor.go
…
json_field_extractor_test.go
…
langfuse_wrapper.go
…
langfuse_wrapper_test.go
…
llm_debug.go
…
llm_debug_wrapper.go
…
ollama.go
…
ollama_test.go
…
openai_request.go
…
openai_stream.go
…
prompt_cache.go
…
provider.go
…
provider_test.go
…
remote_api.go
…
remote_api_test.go
…
sse_reader.go
…
stream_emit.go
…
stream_raw_dump.go
…
thinking.go
…
thinking_test.go
…
timeout_test.go
…
transport.go
…
usage.go
…