Comments (3)
I encountered the same issue with ollama as well. I think it's because the default value for StreamTimeoutSecond
is too short. Is it possible to configure this value?
from mattermost-plugin-ai.
Me too.
How exactly do we solve this?
I know I'm lengthening that time, but each version has a different source, so I don't know what to change. I'm using the latest version of 0.8.
from mattermost-plugin-ai.
I refer to the configuration file of this plugin, there is a parameter to configure the streaming timeout in seconds.
StreamingTimeoutSeconds int json:"streamingTimeoutSeconds"
https://github.com/mattermost/mattermost-plugin-ai/blob/master/server/ai/configuration.go
After you have enabled this plugin in MatterMost, open up MatterMost configuration file (config.json) and look for the section belonging to this plugin. It should look something like this.
"service":{
"apiKey": ,
"apiURL": ,
"defaultModel": ,
"id": ,
"orgId": ,
"password": ,
"tokenLimit": ,
"type": ,
"username":
}
Append "streamingTimeoutSeconds": xxx, to "service" object, save and restart MatterMost service. The timeout should be extended to the value configured in the MatterMost config file.
Would be much easier if this field is made configurable in the UI.
from mattermost-plugin-ai.
Related Issues (20)
- 💡 idea: add google gemini to list of supported backends HOT 2
- 💡 idea: Update README header image to say "Mattermost AI Copilot" instead of "The Mattermost AI Plugin" HOT 1
- 💡 idea: remove duplicative docs HOT 1
- 💡 idea: add a data-preloaded Mattermost server to facilitate demos and testing
- 💡 idea: Take into account the user locale for AI actions HOT 8
- 💡 idea: Soften the Enterprise requirement for multiple LLM backends (Add AI Service) HOT 2
- 💡 idea: Plugin operation via proxy
- Initiating an Indefinite Number of Same Bot Conversation
- 💡 idea: Export Prometheus Metrics about usage HOT 1
- Design Preview: AI-enhanced Search
- 🐛 bug: prompt buttons populate the Thread input instead of AI RHS input
- 🐛 bug: failure with anthropic claude engine when multiple user messages in a row HOT 4
- 🐛 bug: Somtimes the blinking cursor on responces appears in the wrong place.
- 🐛 bug: Hover state for AI menu inconsistant with other post menus
- 🐛 bug: Sorry! An error occurred while accessing the LLM. See server logs for details. HOT 1
- 🐛 bug: typos in initial prompt templates
- 🐛 bug: I can't add a single LLM on the free Edition HOT 3
- 🐛 bug: Incorrect response when asking AI to summarize a thread with a link
- Markdown formatting as a reply from the LLM isn't working HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mattermost-plugin-ai.