OpenAI provider support (Bring Your Own Key) #11

Closed
opened 2026-01-21 20:45:28 +00:00 by jack · 0 comments
Owner

Summary

OpenAI-compatible API as an alternative to the Claude SDK for observation extraction.

Key Changes

  • OpenAIAgent.ts: OpenAI-compatible REST API client with multi-turn conversation support
  • Provider switching: OpenAI option in SessionRoutes and Worker
  • UI Settings: OpenAI config fields (API key, base URL, model)
  • memorySessionId fallback: Auto-generate when models don't return <memory_session_id> tags

Benefits

  • Bring Your Own Key: Use your own OpenAI/Azure/Poe API keys
  • Provider flexibility: Any OpenAI-compatible API (OpenAI, Azure, Poe, local models)
  • Cost control: Cheaper alternatives like free Poe bots or local models

Reference

PR: https://github.com/thedotmack/claude-mem/pull/644


Migrated-From: jack/claude-mem-fork#55

## Summary OpenAI-compatible API as an alternative to the Claude SDK for observation extraction. ## Key Changes - **OpenAIAgent.ts**: OpenAI-compatible REST API client with multi-turn conversation support - **Provider switching**: OpenAI option in SessionRoutes and Worker - **UI Settings**: OpenAI config fields (API key, base URL, model) - **memorySessionId fallback**: Auto-generate when models don't return `<memory_session_id>` tags ## Benefits - **Bring Your Own Key**: Use your own OpenAI/Azure/Poe API keys - **Provider flexibility**: Any OpenAI-compatible API (OpenAI, Azure, Poe, local models) - **Cost control**: Cheaper alternatives like free Poe bots or local models ## Reference PR: https://github.com/thedotmack/claude-mem/pull/644 -------- Migrated-From: jack/claude-mem-fork#55
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
customable/claude-mem#11
No description provided.