UNPKG

remix-nlux

Version:

Remix IDE NLUX integration. Remix IDE is the leading IDE for building and deploying smart contracts on Ethereum. NLUX is a JavaScript and React library for building conversational AI experiences.

8 lines (7 loc) 275 B
import {ChatAdapterOptions} from '../types/adapterOptions'; import {LangServeHeaders} from '../types/langServe'; export const getHeadersToUse = <AnyAiMsg>( adapterOptions: ChatAdapterOptions<AnyAiMsg>, ): LangServeHeaders => { return adapterOptions.headers || {}; };