Skip to content

Conversation

@alabulei1
Copy link
Contributor

No description provided.

Copy link
Contributor

juntao commented Aug 4, 2025

Hello, I am a PR summary agent on flows.network. Here are my reviews of code commits in this PR.


Commit 3494e699c0a75a763d9d44995810576800ab103a

Key Changes

  • Authentication: The registration request now includes an Authorization header with the value Bearer YOUR_API_KEY_GOES_HERE. This is crucial for securing communication between clients and services.
  • URL Structure: Services are expected to use a consistent URL structure. Local URLs should start with http://localhost:port (e.g., http://localhost:8080/v1). Remote URLs should start with https://domain.com/v1 (e.g., https://0x448f0405310a9258cd5eab5f25f15679808c5db2.gaia.domains/v1).
  • Service Registration: Each service can be registered by making a POST request to http://localhost:3389/admin/servers/register, providing the service's URL and kind (e.g., chat, embeddings, image, audio). The kind should be in lowercase, as specified in the code.
  • Notes: It is recommended to use a versioned endpoint (v1) in URLs for clarity and consistency across services.

@alabulei1 alabulei1 merged commit b028e5a into main Aug 5, 2025
3 checks passed
@alabulei1 alabulei1 deleted the alabulei1-patch-4 branch August 5, 2025 08:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants