Skip to content

⭐️⭐️⭐️ Open-source, self-hosted alternative to Linear and Plane. Project management and issue tracking where teams and AI agents work side by side to plan and ship products.

333 B
Raw Blame
import type { ToolConfig } from '../../types';

// Authorization header for a Jina API call from the integration credential.
export function jinaAuth(credential: ToolConfig): Record<string, string> {
  const apiKey = credential.apiKey ? String(credential.apiKey) : '';
  return apiKey ? { Authorization: `Bearer ${apiKey}` } : {};
}