0%
-
Total credentials
0 valid
Running
Service status
Loading uptime...
-
API service endpoint
Click to copy the link
0
0
Total API calls
Steadily growing

Model usage statistics

Model name Usage count

Credential usage statistics

Credential file Usage count

Automatic authentication

Click the button below to automatically start the CodeBuddy OAuth2 authentication flow. The system will automatically obtain and save your credentials.

Manually add a credential

Saved credentials

Loading current status...
Loading...

Chat completion test

Click "Send test" to see the API response...

API usage examples

curl example:

curl -X POST "http://127.0.0.1:8001/codebuddy/v1/chat/completions" \ -H "Authorization: Bearer YOUR_PASSWORD" \ -H "Content-Type: application/json" \ -d '{ "model": "auto-chat", "messages": [ {"role": "user", "content": "Hello!"} ] }'

Python example:

import openai client = openai.OpenAI( api_key="YOUR_PASSWORD", base_url="http://127.0.0.1:8001/codebuddy/v1" ) response = client.chat.completions.create( model="auto-chat", messages=[ {"role": "user", "content": "Hello!"} ] ) print(response.choices[0].message.content)

Service configuration

Loading configuration...
Note: some settings (such as the port number) require a service restart to take effect.