feat: no openai key
Some checks failed
Build Containers Enterprise / build-containers-common (push) Has been cancelled
Build Containers / build-containers-common (push) Has been cancelled
Build Containers Enterprise / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers Enterprise / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers Enterprise / build-container-manifest (push) Has been cancelled
Build Containers / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers / build-container-manifest (push) Has been cancelled
Some checks failed
Build Containers Enterprise / build-containers-common (push) Has been cancelled
Build Containers / build-containers-common (push) Has been cancelled
Build Containers Enterprise / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers Enterprise / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers Enterprise / build-container-manifest (push) Has been cancelled
Build Containers / build-containers (amd64, ubuntu-latest) (push) Has been cancelled
Build Containers / build-containers (arm64, [self-hosted ARM64]) (push) Has been cancelled
Build Containers / build-container-manifest (push) Has been cancelled
This commit is contained in:
parent
9a3d5c5580
commit
1f8940a7c4
2 changed files with 3 additions and 3 deletions
|
|
@ -9,7 +9,7 @@ import { agentTopics } from '@gitroom/nestjs-libraries/agent/agent.topics';
|
|||
import { PostsService } from '@gitroom/nestjs-libraries/database/prisma/posts/posts.service';
|
||||
|
||||
const model = new ChatOpenAI({
|
||||
apiKey: process.env.OPENAI_API_KEY,
|
||||
apiKey: process.env.OPENAI_API_KEY || 'sk-proj-',
|
||||
model: 'gpt-4o-2024-08-06',
|
||||
temperature: 0,
|
||||
});
|
||||
|
|
|
|||
|
|
@ -20,13 +20,13 @@ const tools = !process.env.TAVILY_API_KEY ? [] : [new TavilySearchResults({ maxR
|
|||
const toolNode = new ToolNode(tools);
|
||||
|
||||
const model = new ChatOpenAI({
|
||||
apiKey: process.env.OPENAI_API_KEY,
|
||||
apiKey: process.env.OPENAI_API_KEY || 'sk-proj-',
|
||||
model: 'gpt-4o-2024-08-06',
|
||||
temperature: 0.7,
|
||||
});
|
||||
|
||||
const dalle = new DallEAPIWrapper({
|
||||
apiKey: process.env.OPENAI_API_KEY,
|
||||
apiKey: process.env.OPENAI_API_KEY || 'sk-proj-',
|
||||
model: 'dall-e-3',
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue