Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
A
aisbf
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexlab
aisbf
Commits
3ba34e24
Commit
3ba34e24
authored
Feb 07, 2026
by
Stefy Lanza (nextime / spora )
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update test proxy to use /api/rotations/chat/completions with googletest model
parent
9333666f
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
11 deletions
+11
-11
test_proxy.sh
test_proxy.sh
+11
-11
No files found.
test_proxy.sh
View file @
3ba34e24
...
...
@@ -11,13 +11,13 @@ echo "AISBF Proxy Test Script"
echo
"=========================================="
echo
""
# Test 1: Non-streaming request to
autoselect endpoint
echo
"Test 1: Non-streaming request to
autoselect endpoint
"
# Test 1: Non-streaming request to
rotations endpoint with googletest model
echo
"Test 1: Non-streaming request to
rotations endpoint with googletest model
"
echo
"----------------------------------------"
curl
-X
POST
"
${
PROXY_URL
}
/api/
autoselect
/chat/completions"
\
curl
-X
POST
"
${
PROXY_URL
}
/api/
rotations
/chat/completions"
\
-H
"Content-Type: application/json"
\
-d
'{
"model": "
autoselec
t",
"model": "
googletes
t",
"messages": [
{"role": "user", "content": "Hello, how are you?"}
],
...
...
@@ -27,15 +27,15 @@ curl -X POST "${PROXY_URL}/api/autoselect/chat/completions" \
echo
""
echo
""
# Test 2: Streaming request to
autoselect endpoint
echo
"Test 2: Streaming request to
autoselect endpoint
"
# Test 2: Streaming request to
rotations endpoint with googletest model
echo
"Test 2: Streaming request to
rotations endpoint with googletest model
"
echo
"----------------------------------------"
echo
"Note: Streaming responses will appear as data: lines"
echo
""
curl
-X
POST
"
${
PROXY_URL
}
/api/
autoselect
/chat/completions"
\
curl
-X
POST
"
${
PROXY_URL
}
/api/
rotations
/chat/completions"
\
-H
"Content-Type: application/json"
\
-d
'{
"model": "
autoselec
t",
"model": "
googletes
t",
"messages": [
{"role": "user", "content": "Hello, how are you?"}
],
...
...
@@ -52,10 +52,10 @@ curl -X GET "${PROXY_URL}/" 2>/dev/null | jq '.' || echo "Response received (jq
echo
""
echo
""
# Test 4: List models for
autoselect
endpoint
echo
"Test 4: List models for
autoselect
endpoint"
# Test 4: List models for
rotations
endpoint
echo
"Test 4: List models for
rotations
endpoint"
echo
"----------------------------------------"
curl
-X
GET
"
${
PROXY_URL
}
/api/
autoselect
/models"
2>/dev/null | jq
'.'
||
echo
"Response received (jq not available)"
curl
-X
GET
"
${
PROXY_URL
}
/api/
rotations
/models"
2>/dev/null | jq
'.'
||
echo
"Response received (jq not available)"
echo
""
echo
""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment