mirror of
https://github.com/open-webui/open-webui
synced 2024-11-25 05:18:15 +00:00
commit
c6c5c0ddb2
@ -45,6 +45,7 @@ We welcome pull requests. Before submitting one, please:
|
|||||||
2. Follow the project's coding standards and include tests for new features.
|
2. Follow the project's coding standards and include tests for new features.
|
||||||
3. Update documentation as necessary.
|
3. Update documentation as necessary.
|
||||||
4. Write clear, descriptive commit messages.
|
4. Write clear, descriptive commit messages.
|
||||||
|
5. It's essential to complete your pull request in a timely manner. We move fast, and having PRs hang around too long is not feasible. If you can't get it done within a reasonable time frame, we may have to close it to keep the project moving forward.
|
||||||
|
|
||||||
### 📚 Documentation & Tutorials
|
### 📚 Documentation & Tutorials
|
||||||
|
|
||||||
|
@ -113,7 +113,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
params = { ...params, ...model?.info?.params };
|
params = { ...params, ...model?.info?.params };
|
||||||
params.stop = params?.stop ? (params?.stop ?? []).join(',') : null;
|
params.stop = params?.stop
|
||||||
|
? (typeof params.stop === 'string' ? params.stop.split(',') : params?.stop ?? []).join(
|
||||||
|
','
|
||||||
|
)
|
||||||
|
: null;
|
||||||
|
|
||||||
if (model?.owned_by === 'openai') {
|
if (model?.owned_by === 'openai') {
|
||||||
capabilities.usage = false;
|
capabilities.usage = false;
|
||||||
|
Loading…
Reference in New Issue
Block a user