Files
bolt.new/app
bjc 6c1f7f4502 feat(llm): add support for OpenAI LLM
- Added OPENAI_API_KEY to the Env interface
- Added OPENAI_API_KEY to package.json dependencies
- Added @ai-sdk/openai to package.json dependencies
- Added Prompts interface to prompts-interface.ts
- Added Prompts implementation to anthropic-llm.ts and openai-llm.ts
- Added LLMType enum to llm-selector.ts
- Added selectLLM and getCurrentLLMType functions to llm-selector.ts
- Added AnthropicLLM and OpenAILLM classes to anthropic-llm.ts and openai-llm.ts
- Added getModel function to model.ts
- Added streamText function to stream-text.ts
- Updated chatAction function in api.chat.ts to use selectLLM and getCurrentLLMType
2024-10-08 07:15:26 -07:00
..
2024-10-08 07:15:26 -07:00
2024-09-25 19:54:09 +01:00
2024-09-25 19:54:09 +01:00
2024-10-07 16:24:29 +02:00