Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions images/icons/langchain.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions images/icons/openai.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions images/icons/opencode.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 9 additions & 0 deletions images/icons/typescript.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 3 additions & 5 deletions integrations/langchain.mdx
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
---
title: LangChain Integration
title: LangChain
description: Use Edgee with LangChain for building AI applications with chains, agents, and RAG.
icon: link
icon: /images/icons/langchain.svg
---

## Overview

Edgee's OpenAI-compatible API works seamlessly with LangChain, allowing you to leverage LangChain's powerful features like chains, agents, memory, and RAG while maintaining control over your LLM infrastructure.

## Installation
Expand Down Expand Up @@ -186,7 +184,7 @@ response = llm.invoke("What is LangChain?")
Edgee uses standard Bearer token authentication. Set your API key as an environment variable:

```bash
export API_KEY="your-edgee-api-key"
export API_KEY="sk-edgee-..."
```

The `api_key` parameter in `ChatOpenAI` automatically formats the header as:
Expand Down
9 changes: 4 additions & 5 deletions integrations/opencode.mdx
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
---
title: OpenCode Integration
title: OpenCode
description: Use Edgee with OpenCode for building AI applications directly in your terminal.
icon: terminal
icon: /images/icons/opencode.svg
---

## Overview

Edgee's OpenAI-compatible API works seamlessly with OpenCode, allowing you to leverage OpenCode's powerful CLI agent capabilities while maintaining control over your LLM infrastructure.

Expand All @@ -24,7 +23,7 @@ To use Edgee with OpenCode, you need to configure the `opencode.json` configurat
"name": "edgee",
"options": {
"baseURL": "https://api.edgee.ai/v1",
"apiKey": "your-edgee-api-key"
"apiKey": "sk-edgee-..."
},
"models": {
"mistral-small": {
Expand All @@ -42,7 +41,7 @@ To use Edgee with OpenCode, you need to configure the `opencode.json` configurat
}
```

Make sure to replace `"your-edgee-api-key"` with your actual Edgee API key.
Make sure to replace `"sk-edgee-..."` with your actual Edgee API key.

## Usage

Expand Down
Loading