continue-custom/core/llm/llms
Owen W. Taylor 3553dfaae4 Add rich logging of LLM interactions
Instead of treating LLM logging as simply writing lines of text
sequentially, emit a stream of typed data objects that include
rich information about the interaction, such as timestamps,
message types, tool calls, etc.

These are then collected by a new custom webview in the vscode
extension (the "Continue Console"), allowing a user or developer
to browse through the different interactions and view them in detail.
In progress interactions are now streamed live, instead of being held back
to avoid concurrency issues.

This webview could be also exposed for IntelliJ or file logging
could be reimplemented on top of the new framework.
2025-04-07 14:11:38 -04:00
..
stubs use model-proxy endpoint instead of /openai to avoid confusion 2025-03-23 13:23:27 -07:00
Anthropic.ts Merge branch 'main' into tomasz/better-linting 2025-03-20 10:49:07 -07:00
Asksage.ts add support for o3-mini 2025-01-31 15:18:57 -06:00
Azure.ts feat: update azure uri for foundry users 2025-02-07 19:29:35 -08:00
Bedrock.test.ts feat: retrieve AWS credentials from Env and from ECS/EC2 instance 2025-03-14 14:41:45 +01:00
Bedrock.ts fix bedrock reranker credentials 2025-04-02 21:52:12 -07:00
BedrockImport.ts feat: retrieve AWS credentials from Env and from ECS/EC2 instance 2025-03-14 14:41:45 +01:00
Cerebras.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Cloudflare.ts fix: Cloudflare Workers AI message handling 2024-12-11 12:28:35 -06:00
Cohere.ts cohere 2025-03-10 16:03:03 -07:00
CustomLLM.ts Enable Custom LLMs to use Tools by allowing customStreamChat to return ChatMessages as well as strings 2025-03-05 17:23:43 -05:00
DeepInfra.ts Remove embeddings folder 2024-12-08 16:16:59 -08:00
Deepseek.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Docker.ts feat: use fetch instead of http 2025-04-05 13:36:41 -07:00
Fireworks.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Flowise.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
FreeTrial.ts claude 35 haiku, not 3 2025-02-07 10:13:06 -08:00
FunctionNetwork.ts Remove embeddings folder 2024-12-08 16:16:59 -08:00
gemini-types.ts gemini types and general better type support 2025-01-12 16:47:25 -08:00
Gemini.ts feat: fix type error + formatting 2025-03-31 21:23:22 -07:00
Groq.ts chore: remove deprecated and add new llama3.3 2025-01-13 19:11:56 +07:00
HuggingFaceInferenceAPI.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
HuggingFaceTEI.ts this.fetch additions 2025-03-10 15:50:56 -07:00
HuggingFaceTGI.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Inception.ts bump, remove inceptionlabs provider 2025-04-02 18:54:45 -07:00
index.ts Add rich logging of LLM interactions 2025-04-07 14:11:38 -04:00
Kindo.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
LlamaCpp.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Llamafile.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
llm.ts fix config yaml conflicts 2024-12-13 15:41:12 -08:00
LMStudio.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Mistral.ts remove console log causing failing tests 2024-12-16 22:07:20 -08:00
Mock.ts e2e test system message 2025-01-15 13:28:00 -08:00
Moonshot.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Msty.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
NCompass.ts added alternate model naming convention to model conversion map 2025-02-28 17:21:37 +00:00
Nebius.ts Nebius info actualized 2025-02-13 16:34:03 +01:00
Novita.ts feat: replace logo and deepseek model base info 2025-02-05 15:01:35 +08:00
Nvidia.ts Remove embeddings folder 2024-12-08 16:16:59 -08:00
Ollama.ts Merge pull request #4453 from ferenci84/bedrock_reasoning_2 2025-03-16 13:01:19 -07:00
OpenAI.ts added tools support for fireworks.ai 2025-03-09 16:33:17 +01:00
OpenRouter.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Relace.ts fix apiBase 2025-03-19 11:13:41 -07:00
Replicate.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
SageMaker.ts feat: retrieve AWS credentials from Env and from ECS/EC2 instance 2025-03-14 14:41:45 +01:00
SambaNova.ts fix typo 2025-02-25 17:25:42 -05:00
Scaleway.ts Use convertmodelname to avoid 422 errors 2024-12-12 12:08:02 +01:00
SiliconFlow.ts supplement gemini ai status models code and add siliconflow to reranker model provider list 2025-03-31 22:28:45 +08:00
Test.ts test: expand e2e tests 2024-12-09 14:25:08 -08:00
TextGenWebUI.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
Together.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00
TransformersJsEmbeddingsProvider.ts fix embed model titles 2025-03-24 23:47:00 -07:00
TransformersJsWorkerThread.js remove uses of 'require' 2024-12-09 13:17:26 -08:00
VertexAI.ts Protect use cases where systemMessage is missing 2025-03-19 09:37:14 -04:00
Vllm.ts Fix vllm setup, json.data is an array and is accessed as such. Also add autodetect behaviour in case multiple model deployement is supported in the future 2025-03-06 03:03:20 +07:00
Voyage.ts this.fetch additions 2025-03-10 15:50:56 -07:00
WatsonX.ts Use fetchwithRequestOptions for all calls in WatsonX. 2025-03-25 21:33:53 +04:00
xAI.ts remove EmbeddingsProvider 2024-12-08 12:30:35 -08:00