Skip to content

Commit cda9a0c

Browse files
authored
Update CLAUDE.md
1 parent a09813c commit cda9a0c

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

CLAUDE.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
# CLAUDE.md
2-
3-
This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository.
4-
51
## Project Overview
62

73
HostedGPT is a Ruby on Rails 8.0 app providing a multi-provider conversational AI UI (OpenAI, Anthropic, Groq, Google Gemini, and others via OpenAI-compatible APIs). Users bring their own API keys, create assistants bound to language models, chat with streaming responses, switch models/providers mid-conversation, attach images/files, and use tool/function calling where the provider supports it.
@@ -74,4 +70,4 @@ HostedGPT is a Ruby on Rails 8.0 app providing a multi-provider conversational A
7470
- Don't introduce provider-specific conditionals in controllers — encapsulate per-provider behavior in the `AIBackend` layer.
7571
- For provider tests, stub the network client (see `test/support/test_client/`) rather than recording HTTP cassettes.
7672
- When changing streaming logic, add a test asserting partial-chunk emission order as well as final persistence.
77-
- API tokens are stored via `encrypts :token`; never log raw tokens (length-only logging is fine). HTTP header auth treats the configured headers as trusted — don't reuse them for untrusted input.
73+
- API tokens are stored via `encrypts :token`; never log raw tokens (length-only logging is fine). HTTP header auth treats the configured headers as trusted — don't reuse them for untrusted input.

0 commit comments

Comments
 (0)