Skip to content

hastmu/n8n_openai-api_2_novita.ai-api_proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

n8n_openai-api_2_novita.ai-api_proxy

Enabling novita.ai as LLM provider for n8n in the AI Agent Node. Maybe this gets fixed natively somewhen, at the time of writing this was not.

Problem i encountered using the openai-api node in n8n

n8n overview

Overview

n8n used config which did not work

Config-1 Config-2

n8n proxy config which did work

Config-3 Config-4

n8n working with novita.ai over proxy

Success

This Solution

Provides an API-mediation layer which translates the openapi requests into the novita.ai api (openai), available ones. (tested at this moment of writting)

pre-requisits

  • uv installed

installation

Just clone the repo to your local directory

config

Update the .env file with your target upstream api url and your api-key

NOVITA_API_KEY="<here goes your key>"
UPSTREAM_BASE_URL=https://api.novita.ai/v3/openai

running

./runit.sh

looks like:

run

n8n openai api credentials setup

Enjoy.

About

Enabling novita.ai as LLM provider for n8n in the AI Agent Node

Topics

Resources

License

Stars

Watchers

Forks

Contributors