Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix server cross-origin errors #610

Merged
merged 1 commit into from
Jul 23, 2024
Merged

Conversation

openmynet
Copy link
Contributor

Fix server cross-origin errors

  1. Axum Router is a stack model.
  2. To enhance cross-domain compatibility, the LLM client will provide an AUTHORIZATION header in its requests.

Fix server cross-origin errors
1. Axum Router is a stack model.
2. To enhance cross-domain compatibility, the LLM client will provide an `AUTHORIZATION` header in its requests.
Copy link

Code Metrics Report
  ===============================================================================
 Language            Files        Lines         Code     Comments       Blanks
===============================================================================
 C Header                2           35           28            0            7
 Dockerfile              1           34           25            0            9
 Happy                   1          442          369            0           73
 JSON                   11          102          101            0            1
 Python                 41         1586         1368           46          172
 TOML                   19          559          493           11           55
-------------------------------------------------------------------------------
 Jupyter Notebooks       2            0            0            0            0
 |- Markdown             2           77           32           31           14
 |- Python               2          196          169            1           26
 (Total)                            273          201           32           40
-------------------------------------------------------------------------------
 Markdown               24         1817            0         1371          446
 |- BASH                 5          101           98            0            3
 |- JSON                 1           12           12            0            0
 |- Python               5           92           82            0           10
 |- Rust                 6          407          364           19           24
 |- TOML                 2           75           63            0           12
 (Total)                           2504          619         1390          495
-------------------------------------------------------------------------------
 Rust                  169        54663        49631          972         4060
 |- Markdown            91          850           13          787           50
 (Total)                          55513        49644         1759         4110
===============================================================================
 Total                 271        59238        52015         2400         4823
===============================================================================
  

Copy link
Owner

@EricLBuehler EricLBuehler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thank you!

@EricLBuehler EricLBuehler merged commit a23876f into EricLBuehler:master Jul 23, 2024
15 checks passed
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.

2 participants